aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts
diff options
context:
space:
mode:
authorJaKooLit <jimmielovejay@gmail.com>2023-11-30 11:55:05 +0900
committerJaKooLit <jimmielovejay@gmail.com>2023-11-30 11:55:05 +0900
commit00faa20da0bf96c863b14ab367c2a09fe52ed14e (patch)
treea9f2f9fee193b1943101a8ef35e8ea2363bd28aa /config/hypr/scripts
parentf4dcedc6ab090e403be1bf6534b33704dab71976 (diff)
updated Keybinds.conf and Wallpaper.sh
Diffstat (limited to 'config/hypr/scripts')
-rwxr-xr-xconfig/hypr/scripts/Wallpaper.sh11
1 files changed, 9 insertions, 2 deletions
diff --git a/config/hypr/scripts/Wallpaper.sh b/config/hypr/scripts/Wallpaper.sh
index 8fdfcbb1..c494dca1 100755
--- a/config/hypr/scripts/Wallpaper.sh
+++ b/config/hypr/scripts/Wallpaper.sh
@@ -6,11 +6,18 @@ 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
+# Transition config
+FPS=30
+TYPE="any"
+DURATION=3
+SWWW_PARAMS="--transition-fps $FPS --transition-type $TYPE --transition-duration $DURATION"
+
+
+swww query || swww init && swww img ${RANDOMPICS} $SWWW_PARAMS
${SCRIPTSDIR}/PywalSwww.sh &
sleep 1
${SCRIPTSDIR}/Refresh.sh
+
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage