aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/setwall
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/setwall')
-rwxr-xr-x.local/bin/setwall2
1 files changed, 2 insertions, 0 deletions
diff --git a/.local/bin/setwall b/.local/bin/setwall
index a18a971..a7d7a1f 100755
--- a/.local/bin/setwall
+++ b/.local/bin/setwall
@@ -38,9 +38,11 @@ if ! pgrep -x hyprpaper >/dev/null; then
preload = $NEW_WALL
wallpaper = ,$NEW_WALL
EOF
+ wal -i $NEW_WALL
hyprpaper &
else
# Hyprpaper is running → change it live
+ wal -i $NEW_WALL
hyprctl hyprpaper preload "$NEW_WALL"
hyprctl hyprpaper wallpaper ",$NEW_WALL"
fi