diff options
| author | JaKooLit <jimmielovejay.com> | 2024-01-01 15:13:32 +0900 |
|---|---|---|
| committer | JaKooLit <jimmielovejay.com> | 2024-01-01 15:13:32 +0900 |
| commit | 16621bef0e8e3419f82389ba841b97db40a555b1 (patch) | |
| tree | 01d154902acde99d3e110072259a9d72f1eee4af /config/hypr/UserScripts/Wallpaper.sh | |
| parent | 978cb01c7794ca6aabc613810b23698f94fad298 (diff) | |
- Breaking Changes.
- Quick Edit script moved to user scripts - I understand some users wants to use other editor
- RofiBeats moved to user scripts - This is because users wants their own stations :)
- RofiBeats keybinds changed to SUPER SHIFT M keybind
- Keybinds to change layout SUPER ALT L
- Wlogout Script adjusted with 4K.
- Wallpaper Scripts are moved to UserScripts. This is because if users has a different location of wallpapers and also wants a different animations
Diffstat (limited to 'config/hypr/UserScripts/Wallpaper.sh')
| -rwxr-xr-x | config/hypr/UserScripts/Wallpaper.sh | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/config/hypr/UserScripts/Wallpaper.sh b/config/hypr/UserScripts/Wallpaper.sh new file mode 100755 index 00000000..d75d2eab --- /dev/null +++ b/config/hypr/UserScripts/Wallpaper.sh @@ -0,0 +1,24 @@ +#!/bin/bash + +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[@]} ]} + + +# Transition config +FPS=60 +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 + + +${SCRIPTSDIR}/PywalSwww.sh +sleep 1 +${SCRIPTSDIR}/Refresh.sh + |
