1
0
forked from extern/nix-config

hyprland(swww): Use shorter sleep for non-kvm

This makes starting Hyprland more instantaneous on bare metal.
This commit is contained in:
Donovan Glover 2023-07-26 18:43:53 -04:00
parent 0a60a39a31
commit 480cc873a3
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

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