1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-12-28 07:56:41 +00:00

Fish: Make wall0 functions detect resolution

This commit is contained in:
Phantop 2019-01-15 22:43:31 -05:00
parent 60aeefd70c
commit fe932fa68a

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