aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/UserScripts/WallpaperEffects.sh
diff options
context:
space:
mode:
authorMartin Guzman <55927935+brockar@users.noreply.github.com>2024-12-01 17:12:42 -0300
committerGitHub <noreply@github.com>2024-12-01 17:12:42 -0300
commit54948c1f637e6f8fd0510b6b0410a3ee3a22127b (patch)
treea5f6ccee9e8c4aa3e488bcd2077799fd3286a00c /config/hypr/UserScripts/WallpaperEffects.sh
parent98df95302696d573a89c88e379afb87417f957a8 (diff)
parent9d4252297ba68017be3fdd3a9838cbf89f81f86c (diff)
Merge branch 'JaKooLit:main' into fix-questions
Diffstat (limited to 'config/hypr/UserScripts/WallpaperEffects.sh')
-rwxr-xr-xconfig/hypr/UserScripts/WallpaperEffects.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/hypr/UserScripts/WallpaperEffects.sh b/config/hypr/UserScripts/WallpaperEffects.sh
index cc6a5781..4edb6b8d 100755
--- a/config/hypr/UserScripts/WallpaperEffects.sh
+++ b/config/hypr/UserScripts/WallpaperEffects.sh
@@ -15,7 +15,7 @@ iDIR="$HOME/.config/swaync/images"
# swww transition config
FPS=60
TYPE="wipe"
-DURATION=2
+DURATION=1.5
BEZIER=".43,1.19,1,.4"
SWWW_PARAMS="--transition-fps $FPS --transition-type $TYPE --transition-duration $DURATION"
@@ -78,11 +78,11 @@ main() {
# Execute swww command after image conversion
swww img -o "$focused_monitor" "$wallpaper_output" $SWWW_PARAMS &
# Wait for swww command to complete
- wait $!
+ sleep 1.5
# Wait for other commands to finish
wallust run "$wallpaper_output" -s &
# Wait for other commands to finish
- wait $!
+ sleep 0.5
# Refresh rofi, waybar, wallust palettes
"${SCRIPTSDIR}/Refresh.sh"
notify-send -u low -i "$iDIR/bell.png" "$choice effects applied"
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage