Change background setup to cycle

This commit is contained in:
David Heinemeier Hansson
2025-06-09 11:59:21 +02:00
parent 3a3be9e38f
commit a745ad0862
6 changed files with 27 additions and 11 deletions

View File

@ -1,4 +0,0 @@
# Set a random image from ~/.local/share/backgrounds as the background
# Picks another random background on SUPER + CTRL + SPACE
exec-once = swaybg -i $(find ~/.local/share/backgrounds/ -type f -print0 | shuf -zn1 | xargs -0 printf '%s\n')
bind = SUPER CTRL, SPACE, exec, pkill -x swaybg && setsid swaybg -i $(find ~/.local/share/backgrounds/ -type f -print0 | shuf -zn1 | xargs -0 printf '%s\n')