Fish: Make wall0 functions detect resolution

This commit is contained in:
Phantop 2019-01-15 22:43:31 -05:00
parent 60aeefd70c
commit fe932fa68a
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# Defined in /tmp/fish.IgbeJ9/wallo.fish @ line 2
# Defined in /tmp/fish.Z2h5NN/wallo.fish @ line 2
function wallo
convert $argv -resize 1920x1080 ~/.config/wall0
convert $argv -resize (xrandr | grep '*'| grep -o [0-9]\*x[0-9]\*) ~/.config/wall0
end