fixed hyprpaper with the new update

This commit is contained in:
2025-12-30 18:54:38 +01:00
parent 4dd0530dbc
commit b1b5c0ae7c

View File

@@ -5,4 +5,6 @@ WALLPAPER_DIR="$HOME/Pictures/Wallpaper/"
CURRENT_WALLPAPERS=$(hyprctl hyprpaper listloaded) CURRENT_WALLPAPERS=$(hyprctl hyprpaper listloaded)
WALLPAPER=$(find "$WALLPAPER_DIR" -type f ! -name "$(basename "$CURRENT_WALLPAPER")" | grep -v .git | shuf -n 1) WALLPAPER=$(find "$WALLPAPER_DIR" -type f ! -name "$(basename "$CURRENT_WALLPAPER")" | grep -v .git | shuf -n 1)
hyprctl hyprpaper reload ,"$WALLPAPER" echo $WALLPAPER
hyprctl hyprpaper wallpaper "eDP-1, $WALLPAPER ,"
hyprctl hyprpaper wallpaper "HDMI-A-1, $WALLPAPER ,"