From 6e1e017a9ebe4f58a3b0992e8adca017a61242d3 Mon Sep 17 00:00:00 2001 From: sora Date: Fri, 17 Nov 2023 10:31:08 +0100 Subject: [PATCH] Update modules/home/wayland/apps/kanshi/default.nix --- modules/home/wayland/apps/kanshi/default.nix | 144 ++++++++++--------- 1 file changed, 74 insertions(+), 70 deletions(-) diff --git a/modules/home/wayland/apps/kanshi/default.nix b/modules/home/wayland/apps/kanshi/default.nix index f09afff..b643f26 100644 --- a/modules/home/wayland/apps/kanshi/default.nix +++ b/modules/home/wayland/apps/kanshi/default.nix @@ -1,70 +1,74 @@ -{ ... }: { - - services.kanshi = { - enable = true; - systemdTarget = "graphical-session.target"; - profiles = { - tower_0 = { - outputs = [{ - criteria = "CEX CX133 0x00000001"; - mode = "1920x1200@59.972"; - position = "0,0"; - status = "enable"; - }]; - }; - tower_1 = { - outputs = [{ - criteria = "AOC 16G3 1DDP7HA000348"; - mode = "1920x1080@144.000"; - position = "0,0"; - status = "enable"; - adaptiveSync = true; - }]; - }; - laptop_0 = { - outputs = [{ - criteria = "LG Display 0x060A Unknown"; - mode = "1920x1080@60.020"; - position = "0,0"; - scale = 1.0; - status = "enable"; - }]; - }; - laptop_1 = { - outputs = [ - { - criteria = "CEX CX133 0x00000001"; - mode = "2560x1600@59.972"; - position = "0,0"; - status = "enable"; - } - { - criteria = "LG Display 0x060A Unknown"; - mode = "1920x1080@60.020"; - position = "2560,0"; - scale = 1.0; - status = "enable"; - } - ]; - }; - laptop_2 = { - outputs = [ - { - criteria = "AOC 16G3 1DDP7HA000348"; - mode = "1920x1080@144.000"; - position = "0,0"; - status = "enable"; - adaptiveSync = true; - } - { - criteria = "LG Display 0x060A Unknown"; - mode = "1920x1080@60.020"; - position = "1920,0"; - scale = 1.0; - status = "enable"; - } - ]; - }; - }; - }; -} +{ ... }: { + + services.kanshi = { + enable = true; + systemdTarget = "graphical-session.target"; + profiles = { + tower_0 = { + outputs = [{ + criteria = "CEX CX133 0x00000001"; + mode = "1920x1200@59.972"; + position = "0,0"; + scale = 1.0; + status = "enable"; + }]; + }; + tower_1 = { + outputs = [{ + criteria = "AOC 16G3 1DDP7HA000348"; + mode = "1920x1080@144.000"; + position = "0,0"; + status = "enable"; + scale = 1.0; + adaptiveSync = true; + }]; + }; + laptop_0 = { + outputs = [{ + criteria = "LG Display 0x060A Unknown"; + mode = "1920x1080@60.020"; + position = "0,0"; + scale = 1.0; + status = "enable"; + }]; + }; + laptop_1 = { + outputs = [ + { + criteria = "CEX CX133 0x00000001"; + mode = "2560x1600@59.972"; + position = "0,0"; + scale = 1.0; + status = "enable"; + } + { + criteria = "LG Display 0x060A Unknown"; + mode = "1920x1080@60.020"; + position = "2560,0"; + scale = 1.0; + status = "enable"; + } + ]; + }; + laptop_2 = { + outputs = [ + { + criteria = "AOC 16G3 1DDP7HA000348"; + mode = "1920x1080@144.000"; + position = "0,0"; + status = "enable"; + scale = 1.0; + adaptiveSync = true; + } + { + criteria = "LG Display 0x060A Unknown"; + mode = "1920x1080@60.020"; + position = "1920,0"; + scale = 1.0; + status = "enable"; + } + ]; + }; + }; + }; +}