Fixed bug in wallpaper.sh screenlayout script
This commit is contained in:
parent
4de264f827
commit
0814b01de8
@ -4,7 +4,7 @@
|
||||
feh_command="feh --bg-fill"
|
||||
while read resolution; do
|
||||
feh_command="$feh_command ~/Pictures/wallpaper-$resolution.jpg"
|
||||
done < <(xrandr | grep ' connected' | grep -oP '[0-9]+x[0-9]+\+[0-9]+\+[0-9]+' | cut -d '+' -f 1)
|
||||
done < <(xrandr | grep ' connected' | grep -oP '[0-9]+x[0-9]+\+[0-9]+\+[0-9]+' | sort -t+ -nk3 | cut -d '+' -f 1)
|
||||
|
||||
echo "$feh_command"
|
||||
eval "$feh_command"
|
||||
|
Loading…
x
Reference in New Issue
Block a user