Add missing script

This commit is contained in:
zervo 2025-04-09 14:07:55 +02:00
parent 22b5f01d89
commit 9b440fb306
2 changed files with 10 additions and 0 deletions

View file

@ -0,0 +1,10 @@
#!/usr/bin/env bash
WALLPAPER_DIR="$HOME/.config/wallpapers/"
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"

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB