diff options
| author | JaKooLit <jimmielovejay@gmail.com> | 2023-12-11 19:18:24 +0900 |
|---|---|---|
| committer | JaKooLit <jimmielovejay@gmail.com> | 2023-12-11 19:18:24 +0900 |
| commit | f3333928f358275a36e2eb340284a7d0c2af7df2 (patch) | |
| tree | 288dd79691e91135b0b507ec4f5afc229074e75c /config/hypr/scripts/Wallpaper.sh | |
| parent | 6cff57c76d9627dd28b7128279a24248b2ca0ef8 (diff) | |
Wallpaper effects changes:
1.) Wallpaper Select - switched to any effects
2.) Random wallpaper (CTRL ALT 2) - switched to random effects
3.) Automatic wallpaper - Increased to 30 mins, switched to simple effects
Diffstat (limited to 'config/hypr/scripts/Wallpaper.sh')
| -rwxr-xr-x | config/hypr/scripts/Wallpaper.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/config/hypr/scripts/Wallpaper.sh b/config/hypr/scripts/Wallpaper.sh index c494dca1..cd7dd83b 100755 --- a/config/hypr/scripts/Wallpaper.sh +++ b/config/hypr/scripts/Wallpaper.sh @@ -1,7 +1,7 @@ #!/bin/bash DIR="$HOME/Pictures/wallpapers/" -SCRIPTSDIR="$HOME/.config/hypr/scripts" +SCRIPTSDIR="$HOME/00-Shared-Drives/Common-nvme/common-wallpapers" PICS=($(find ${DIR} -type f \( -name "*.jpg" -o -name "*.jpeg" -o -name "*.png" -o -name "*.gif" \))) RANDOMPICS=${PICS[ $RANDOM % ${#PICS[@]} ]} @@ -9,9 +9,10 @@ RANDOMPICS=${PICS[ $RANDOM % ${#PICS[@]} ]} # Transition config FPS=30 -TYPE="any" -DURATION=3 -SWWW_PARAMS="--transition-fps $FPS --transition-type $TYPE --transition-duration $DURATION" +TYPE="random" +DURATION=1 +BEZIER=".43,1.19,1,.4" +SWWW_PARAMS="--transition-fps $FPS --transition-type $TYPE --transition-duration $DURATION --transition-bezier $BEZIER" swww query || swww init && swww img ${RANDOMPICS} $SWWW_PARAMS |
