Wiktor Zykubek 65d6817092 Add 'shelp' script
Also add simple description comment to all script.
2020-05-15 20:56:33 +02:00

14 lines
298 B
Bash
Executable File

#!/bin/sh
# Set desktop background.
[ "$1" ] && { xwallpaper --maximize "$1" && exit 1; }
if [ "$(cat /etc/hostname)" = "pc" ]; then
res="1920x1080"
elif [ "$(cat /etc/hostname)" = "laptop" ]; then
res="1366x768"
fi
xwallpaper --maximize /home/samedamci/.config/wallpapers/"$res"/wall1.png &