13 lines
272 B
Plaintext
Raw Normal View History

#!/bin/sh
2020-05-11 10:48:19 +02:00
[ "$1" ] && { xwallpaper --maximize "$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
2020-05-11 10:48:19 +02:00
xwallpaper --maximize /home/samedamci/.config/wallpapers/"$res"/wall1.png &