1
0
forked from extern/nix-config

fix(hyprland): Sleep before swww init

This unfortunately fixes a race condition where swww init doesn't work
if started too soon.

See: https://github.com/Horus645/swww/issues/144
This commit is contained in:
Donovan Glover 2023-07-18 09:02:31 -04:00
parent 7ae15b7502
commit 7907ed5b44
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -31,7 +31,7 @@ in
env=SWWW_TRANSITION_WAVE,80,40
monitor=,preferred,auto,1
exec-once = swww init && swww query | rg color && swww img ${../assets/wallpaper.png}
exec-once = sleep 1; swww init && swww query | rg color && swww img ${../assets/wallpaper.png}
exec-once = wpctl set-volume @DEFAULT_AUDIO_SINK@ 20%
exec-once = ironbar
exec-once = fcitx5