diff options
| author | JaKooLit <jimmielovejay@gmail.com> | 2023-11-27 12:04:47 +0900 |
|---|---|---|
| committer | JaKooLit <jimmielovejay@gmail.com> | 2023-11-27 12:04:47 +0900 |
| commit | 9e7b47f1b8dafbfadee3863355b3785384ffe436 (patch) | |
| tree | 812b7eb42c04f392844d9bc9596ee7db08c083ef /config/hypr/scripts/Wallpaper.sh | |
| parent | 1727b338712bcffb9400836f2b10f3571b32658c (diff) | |
Here are changes made
1.) Use pywal for dunst colors. However, seems backgrounds are not changing. Perhaps only on OpenSuse?
2.) Deleted preconfigured style for dunst. to align with #1 changes
3.) Rewrite some scripts to align with PywalDunst.
4.) New script created for Dunst-Pywal called PywalDunst.sh
5.) Random wallpaper auto change is not increased timing to change every 15 mins
6.) Some scripts are re-written
Diffstat (limited to 'config/hypr/scripts/Wallpaper.sh')
| -rwxr-xr-x | config/hypr/scripts/Wallpaper.sh | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/config/hypr/scripts/Wallpaper.sh b/config/hypr/scripts/Wallpaper.sh index d5ea4645..52502642 100755 --- a/config/hypr/scripts/Wallpaper.sh +++ b/config/hypr/scripts/Wallpaper.sh @@ -1,12 +1,18 @@ #!/bin/bash -DIR=$HOME/Pictures/wallpapers/ +DIR="$HOME/Pictures/wallpapers/" +SCRIPTSDIR="$HOME/.config/hypr/scripts" + PICS=($(find ${DIR} -type f \( -name "*.jpg" -o -name "*.jpeg" -o -name "*.png" -o -name "*.gif" \))) RANDOMPICS=${PICS[ $RANDOM % ${#PICS[@]} ]} swww query || swww init swww img ${RANDOMPICS} --transition-fps 30 --transition-type any --transition-duration 3 -exec $HOME/.config/hypr/scripts/PywalSwww.sh & + + +${SCRIPTSDIR}/PywalSwww.sh & +sleep 1 +${SCRIPTSDIR}/Refresh.sh & sleep 1 -exec $HOME/.config/hypr/scripts/Refresh.sh
\ No newline at end of file +${SCRIPTSDIR}/PywalDunst.sh
\ No newline at end of file |
