aboutsummaryrefslogtreecommitdiff
path: root/.config/hypr/scripts/wallpaper.sh
diff options
context:
space:
mode:
authorJustine Smithies <justine@smithies.me.uk>2024-02-06 20:44:28 +0000
committerJustine Smithies <justine@smithies.me.uk>2024-02-06 20:44:28 +0000
commit506fa12b1f5616c6b818d24941415eff7808f5ad (patch)
treee922a6e6e43b1ebfb8237004e0a6e9242e4b788e /.config/hypr/scripts/wallpaper.sh
parente2add462c0d66120867cdb7181a0d9c413f3e4c1 (diff)
Initial commit of Hyprland config
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