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" - ]; - }; - }; + } + ]; }; - }