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