From fb3636e7b30973753de1e9b86757796eb2ec1207 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Mon, 12 Jan 2026 23:12:34 +0100 Subject: [PATCH] feat: make `kanshi` more configured --- modules/home/kanshi.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/modules/home/kanshi.nix b/modules/home/kanshi.nix index 6c49088..015b7b7 100644 --- a/modules/home/kanshi.nix +++ b/modules/home/kanshi.nix @@ -76,17 +76,18 @@ }; home = { outputs = [ - { - criteria = "eDP-1"; - position = "152,1440"; - } { criteria = "LG Electronics LG ULTRAGEAR+ 507NTRLM0646"; scale = 1.0; status = "enable"; position = "0,0"; # adaptiveSync = true; - mode = "2560x1440@144Hz"; + mode = if (host == "sakura") then "2560x1440@60Hz" else "2560x1440@60Hz"; + } + { + criteria = "eDP-1"; + status = if (host == "sakura") then "enable" else "disable"; + position = if (host == "sakura") then "152,1440" else "300,1440"; } ]; };