From 1cd5eefb7d650b9ec1e350aeee776bc37f6628c3 Mon Sep 17 00:00:00 2001 From: elwrcl Date: Wed, 15 Jul 2026 01:21:51 +0300 Subject: [PATCH] second monitor --- modules/home/niri/niri/general.nix | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/modules/home/niri/niri/general.nix b/modules/home/niri/niri/general.nix index d0e50a5..0a4d096 100644 --- a/modules/home/niri/niri/general.nix +++ b/modules/home/niri/niri/general.nix @@ -20,10 +20,30 @@ scroll-factor = 0.5; click-method = "clickfinger"; }; + focus-follows-mouse = { + max-scroll-amount = "0%"; + }; }; + + outputs = { + "LVDS-1" = { + position = { + x = 0; + y = 0; + }; + }; + "HDMI-A-1" = { + position = { + x = -277; + y = -1080; + }; + }; + }; + animations = { slowdown = 0.8; }; + layout = { gaps = 5; struts = { @@ -43,14 +63,12 @@ }; focus-ring = { enable = false; - #width = 2; - #active.color = "#ffffff"; - #inactive.color = "#444444"; }; border = { enable = false; }; }; + layer-rules = [ { matches = [