From b53c2cc8a8017340c8b0cc5a8628efb2a495d87e Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Wed, 26 Jul 2023 12:45:35 -0400 Subject: [PATCH] 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. --- home/hyprland.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/home/hyprland.nix b/home/hyprland.nix index 051e7fd..dd48e18 100644 --- a/home/hyprland.nix +++ b/home/hyprland.nix @@ -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%