From 03d7dcbc244cb4e5f2131db0b41d55219b39bbc6 Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Fri, 5 Jul 2024 20:34:00 +0200 Subject: [PATCH] chore(home-manager): update Kanshi configuration --- .../desktop/sway/includes/kanshi.nix | 26 +++++++++++-------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/modules/home-manager/desktop/sway/includes/kanshi.nix b/modules/home-manager/desktop/sway/includes/kanshi.nix index d212c4b..a0453e3 100644 --- a/modules/home-manager/desktop/sway/includes/kanshi.nix +++ b/modules/home-manager/desktop/sway/includes/kanshi.nix @@ -4,18 +4,21 @@ with lib; config = mkIf config.modules.desktop.sway.enable { services.kanshi = { enable = config.modules.desktop.sway.kanshi ; - profiles = { - standalone = { - outputs = [ + settings = [ + { + + profile.name = "standalone"; + profile.outputs = [ { criteria = "eDP-1"; scale = 1.33; status = "enable"; } ]; - }; - home = { - outputs = [ + } + { + profile.name = "home"; + profile.outputs = [ { criteria = "Iiyama North America PL2792UH 1166310803122"; mode = "3840x2160"; @@ -34,9 +37,10 @@ with lib; status = "disable"; } ]; - }; - work = { - outputs = [ + } + { + profile.name = "work"; + profile.outputs = [ { criteria = "Iiyama North America PL2480H 11183M2807013"; mode = "1920x1080"; @@ -52,8 +56,8 @@ with lib; status = "disable"; } ]; - }; - }; + } + ]; }; }; }