From e024157275847c6cb7bb5163ca39e8fb5b5af5a2 Mon Sep 17 00:00:00 2001 From: djairoh Date: Fri, 2 Oct 2026 14:57:03 +0200 Subject: [PATCH] updated kanshi conf --- hosts/tuxcomp/kanshi.nix | 91 ++++++++++++++++++++++------------------ 1 file changed, 50 insertions(+), 41 deletions(-) diff --git a/hosts/tuxcomp/kanshi.nix b/hosts/tuxcomp/kanshi.nix index b642ba6..1c21226 100644 --- a/hosts/tuxcomp/kanshi.nix +++ b/hosts/tuxcomp/kanshi.nix @@ -3,50 +3,59 @@ { home-manager.users.djai.services.kanshi = { enable = true; - profiles = { - default = { - outputs = [ - { criteria = "eDP-2"; mode = "1920x1080"; position = "0,0"; } + settings = [ + { profile.name = "default"; + profile.outputs = [ + { + criteria = "eDP-2"; + mode = "1920x1080"; + position = "0,0"; + } ]; - exec = [ - "/home/djai/.config/hypr/scripts/waybar.sh" - "/home/djai/.config/hypr/scripts/bg.fish" + } + { profile.name = "grun"; + profile.outputs = [ + { + criteria = "eDP-2"; + mode = "1920x1080"; + position = "0,1200"; + } + { + criteria = "AOC 2590G4 0x00002FB6"; + mode = "1920x1080"; + position = "0,0"; + } ]; - }; - - grun = { - outputs = [ - { criteria = "eDP-2"; mode = "1920x1080"; position = "0,1200"; } - { criteria = "AOC 2590G4 0x00002FB6"; mode = "1920x1080"; position = "0,0"; } + } + { profile.name = "illo"; + profile.outputs = [ + { + criteria = "eDP-2"; + mode = "1920x1080"; + position = "0,0"; + } + { + criteria = "Samsung Electric Company S22C200 H4MF202355"; + mode = "1920x1080"; + position = "0,1200"; + } ]; - exec = [ - "/home/djai/.config/hypr/scripts/waybar.sh" - "/home/djai/.config/hypr/scripts/bg.fish" + } + { profile.name = "remi"; + profile.outputs = [ + { + criteria = "eDP-2"; + mode = "1920x1080"; + position = "0,0"; + } + { + criteria = "HDMI-A-1"; + mode = "1360x768"; + position = "0,1200"; + scale = 1.0; + } ]; - }; - - illo = { - outputs = [ - { criteria = "eDP-2"; mode = "1920x1080"; position = "0,0"; } - { criteria = "Samsung Electric Company S22C200 H4MF202355"; mode = "1920x1080"; position = "0,1200"; } - ]; - exec = [ - "/home/djai/.config/hypr/scripts/waybar.sh" - "/home/djai/.config/hypr/scripts/bg.fish" - ]; - }; - - remi = { - outputs = [ - { criteria = "eDP-2"; mode = "1920x1080"; position = "0,0"; } - { criteria = "HDMI-A-1"; mode = "1360x768"; position = "0,1200"; scale = 1.0; } - ]; - exec = [ - "/home/djai/.config/hypr/scripts/waybar.sh" - "/home/djai/.config/hypr/scripts/bg.fish" - ]; - }; - }; + } + ]; }; - }