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:
parent
7ae15b7502
commit
7907ed5b44
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user