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