add wallpapers

This commit is contained in:
nub31
2025-05-10 22:58:13 +02:00
parent 20253164cb
commit 97d3e161b6
20 changed files with 37 additions and 198 deletions

View File

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