1
0
forked from extern/nix-config

hyprland: Mirror external monitor

This is unfortunately necessary to fix an issue where the external
monitor wouldn't update its state every few seconds. Not sure what the
issue is since this only occurs in applications when typing and not when
playing back video, for example.
This commit is contained in:
Donovan Glover 2023-07-26 12:45:35 -04:00
parent 72ec44155c
commit b53c2cc8a8
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -29,7 +29,9 @@ in
env=SWWW_TRANSITION_DURATION,1.5
env=SWWW_TRANSITION_FPS,240
env=SWWW_TRANSITION_WAVE,80,40
env=WLR_NO_HARDWARE_CURSORS,1
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 = wpctl set-volume @DEFAULT_AUDIO_SINK@ 20%