14 lines
295 B
Plaintext
Raw Normal View History

#!/bin/sh
# Set desktop background.
2020-06-08 10:13:40 +02:00
[ "$1" ] && { xwallpaper --zoom "$1" && exit 1; }
if [ "$(cat /etc/hostname)" = "pc" ]; then
2020-05-11 10:48:19 +02:00
res="1920x1080"
elif [ "$(cat /etc/hostname)" = "laptop" ]; then
2020-05-11 10:48:19 +02:00
res="1366x768"
fi
xwallpaper --maximize /home/samedamci/.config/wallpapers/"$res"/wall15.png &