wallpaper: use a folder of wallpapers for multiple screens

This commit is contained in:
dogeystamp 2022-11-12 20:24:45 -05:00
parent 2ee1bfb9f8
commit a2a254ea67
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38

View File

@ -2,4 +2,15 @@
# Per host wallpaper configuration example
xwallpaper --output DP-2-1 --center med/pix/dow/ml.png --output DP-1 --center med/pix/dow/mr.png --output eDP-1 --center med/pix/dow/m.png
PREFIX="$HOME/med/wall"
if [ -z "$1" ]; then
WALL="coastline_black"
else
WALL="$1"
fi
FOLDER="$PREFIX"/"$WALL"
xwallpaper --output DP2-1 --center "$FOLDER"/l.jpg \
--output DP1 --center "$FOLDER"/r.jpg \
--output eDP1 --center "$FOLDER"/s.jpg