diff options
| author | littleblack111 <jerrylam110209@gmail.com> | 2023-03-13 21:31:41 +0800 |
|---|---|---|
| committer | littleblack111 <jerrylam110209@gmail.com> | 2023-03-13 21:31:41 +0800 |
| commit | a6cc1090eefaa1943101e9623f210ed78846e957 (patch) | |
| tree | e147e9f41a67860abd6e7b36ad065c0cc157bf6e /runbgblur.sh | |
| parent | 46ba941d0e3df93c243429551bd5101b0c1c172e (diff) | |
update
Diffstat (limited to 'runbgblur.sh')
| -rwxr-xr-x | runbgblur.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/runbgblur.sh b/runbgblur.sh new file mode 100755 index 0000000..66b8974 --- /dev/null +++ b/runbgblur.sh @@ -0,0 +1,11 @@ +#!/usr/bin/zsh + +kill -SIGTERM $(pgrep runbgblur.sh) + +while true; do + pkill -f backgroundblur + wallpaper="$(find /home/system/Pictures/wallpapers -type f -name '*.jpg' -o -name '*.png' | shuf -n 1)" + feh --bg-fill "$wallpaper" & + $HOME/.config/bspwm/scripts/backgroundblur -i "$wallpaper" & + sleep 1800 +done |
