hyprland: Simplify swww init

By including an image changer in a separate exec-once, swww works as
intended. This enables virtual machines to have a random background on
startup without the abnormally long wait time previously.
This commit is contained in:
Donovan Glover 2023-08-01 16:26:56 -04:00
parent 61be25469c
commit 750def0398
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -67,8 +67,7 @@ in
monitor=,preferred,auto,1
monitor=HDMI-A-1,preferred,auto,1,mirror,eDP-1
exec-once = sleep 0.1; swww init && swww query | rg color && swww img ${../assets/wallpaper.png}
exec-once = systemd-detect-virt && sleep 1 && swww img ${../assets/wallpaper.png}
exec-once = sleep 0.1; swww init
exec-once = wpctl set-volume @DEFAULT_AUDIO_SINK@ 20%
exec-once = ironbar
exec-once = fcitx5