This commit is contained in:
Stuce 2025-07-12 10:14:23 +02:00
parent cba0f6f825
commit 418e090ce6
37 changed files with 933 additions and 25 deletions

10
scripts/background.sh Executable file
View file

@ -0,0 +1,10 @@
#!/usr/bin/env bash
WALLPAPER_DIR="$HOME/dotfiles/backgrounds/"
CURRENT_WALL=$(hyprctl hyprpaper listloaded)
# Get a random wallpaper that is not the current one
WALLPAPER=$(find "$WALLPAPER_DIR" -type f ! -name "$(basename "$CURRENT_WALL")" | shuf -n 1)
# Apply the selected wallpaper
hyprctl hyprpaper reload ,"$WALLPAPER"