diff --git a/modules/desktop/desktop-environment/home/inputs.nix b/modules/desktop/desktop-environment/home/inputs.nix index eac02acb..0270d0b0 100644 --- a/modules/desktop/desktop-environment/home/inputs.nix +++ b/modules/desktop/desktop-environment/home/inputs.nix @@ -20,12 +20,13 @@ in { cursor = { no_hardware_cursors = osConfig.nvidia.enable; hide_on_touch = true; - default_monitor = - if mainMonitor != null - then mainMonitor - else ""; }; + exec-once = + if mainMonitor != null + then ["hyprctl dispatch focusmonitor ${mainMonitor}"] + else []; + input = { # Keyboard kb_layout = xkb.layout;