From f9aeb11db0f36b0cac45ba0cd51c431b8e686917 Mon Sep 17 00:00:00 2001 From: djairoh Date: Fri, 2 Oct 2026 03:51:27 +0200 Subject: [PATCH] add: kanshi for tuxcomp --- hosts/tuxcomp/default.nix | 1 + hosts/tuxcomp/kanshi.nix | 52 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 hosts/tuxcomp/kanshi.nix diff --git a/hosts/tuxcomp/default.nix b/hosts/tuxcomp/default.nix index 1eb47f8..59f40a9 100644 --- a/hosts/tuxcomp/default.nix +++ b/hosts/tuxcomp/default.nix @@ -10,6 +10,7 @@ in ./gaming.nix ./wireguard.nix ./nvidia.nix + ./kanshi.nix ]; networking.hostName = "tuxcomp"; diff --git a/hosts/tuxcomp/kanshi.nix b/hosts/tuxcomp/kanshi.nix new file mode 100644 index 0000000..b642ba6 --- /dev/null +++ b/hosts/tuxcomp/kanshi.nix @@ -0,0 +1,52 @@ +{ ... }: + +{ + home-manager.users.djai.services.kanshi = { + enable = true; + profiles = { + default = { + outputs = [ + { criteria = "eDP-2"; mode = "1920x1080"; position = "0,0"; } + ]; + exec = [ + "/home/djai/.config/hypr/scripts/waybar.sh" + "/home/djai/.config/hypr/scripts/bg.fish" + ]; + }; + + grun = { + outputs = [ + { criteria = "eDP-2"; mode = "1920x1080"; position = "0,1200"; } + { criteria = "AOC 2590G4 0x00002FB6"; mode = "1920x1080"; position = "0,0"; } + ]; + exec = [ + "/home/djai/.config/hypr/scripts/waybar.sh" + "/home/djai/.config/hypr/scripts/bg.fish" + ]; + }; + + 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" + ]; + }; + }; + }; + +}