diff options
| author | JaKooLit <ejhay.games@gmail.com> | 2024-11-25 06:13:31 +0900 |
|---|---|---|
| committer | JaKooLit <ejhay.games@gmail.com> | 2024-11-25 06:14:01 +0900 |
| commit | 09297b0a5d2341a5e32007609f6dc4813eeed567 (patch) | |
| tree | 7b34b74e4e7d043b6d13aa685906bbc2692b10d0 /config/hypr/UserScripts/WallpaperEffects.sh | |
| parent | c3900285bcb30a5af49c638eb3c16bd43e2c2527 (diff) | |
adjusted some settings and script for hyprland-git and swww-git
Diffstat (limited to 'config/hypr/UserScripts/WallpaperEffects.sh')
| -rwxr-xr-x | config/hypr/UserScripts/WallpaperEffects.sh | 6 |
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" |
