aboutsummaryrefslogtreecommitdiff
path: root/.config/hypr/scripts/wallpaper.sh
diff options
context:
space:
mode:
Diffstat (limited to '.config/hypr/scripts/wallpaper.sh')
-rwxr-xr-x.config/hypr/scripts/wallpaper.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/.config/hypr/scripts/wallpaper.sh b/.config/hypr/scripts/wallpaper.sh
new file mode 100755
index 0000000..b1dead6
--- /dev/null
+++ b/.config/hypr/scripts/wallpaper.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+if pgrep swaybg; then
+ pkill swaybg
+fi
+swaybg -m fill -i ~/.cache/wallpaperwaybg -m fill -i ~/.cache/wallpaper