dotfiles/Scripts/background-changer.sh

12 lines
250 B
Bash
Raw Permalink Normal View History

2024-10-06 12:08:49 +00:00
#!/usr/bin/env bash
wallpapers_path=/home/emge/Wallpapers/
# while true; do
# swaybg -i $(find $wallpapers_path -type f | shuf -n 1) -m fill
# sleep 29m
# done
# sleep 1m
swaymsg output "*" bg $(find $wallpapers_path -type f | shuf -n 1) fill