From 20f506f2fc605b1e0fe7531a4f1b40a89be6f287 Mon Sep 17 00:00:00 2001 From: djairoh Date: Wed, 7 Oct 2026 12:36:07 +0200 Subject: [PATCH] kanshi nixbook --- hosts/nixbook/kanshi.nix | 81 ++++++++++++++++++++++++++++++++++++++++ hosts/tuxcomp/kanshi.nix | 2 +- 2 files changed, 82 insertions(+), 1 deletion(-) create mode 100644 hosts/nixbook/kanshi.nix diff --git a/hosts/nixbook/kanshi.nix b/hosts/nixbook/kanshi.nix new file mode 100644 index 0000000..3f216ec --- /dev/null +++ b/hosts/nixbook/kanshi.nix @@ -0,0 +1,81 @@ +{ ... }: + +{ + home-manager.users.djai.services.kanshi = { + enable = true; + settings = [ + { profile.name = "default"; + profile.exec = [ + "exec /home/djai/.config/hypr/scripts/waybar.sh" + "exec swaybg -i /home/djai/Pictures/wallpapers/space.png" + ]; + profile.outputs = [ + { + criteria = "eDP-1"; + mode = "1920x1080"; + position = "0,0"; + scale = 1; + } + ]; + } + { profile.name = "grun"; + profile.exec = [ + "exec /home/djai/.config/hypr/scripts/waybar.sh" + "exec swaybg -i /home/djai/Pictures/wallpapers/space.png" + ]; + profile.outputs = [ + { + criteria = "eDP-1"; + mode = "1920x1080"; + position = "2000,1200"; + scale = 1; + } + { + criteria = "AOC 2590G4 0x00002FB6"; + mode = "1920x1080"; + position = "0,0"; + } + ]; + } + { profile.name = "illo"; + profile.exec = [ + "/home/djai/.config/hypr/scripts/waybar.sh" + "/home/djai/.config/hypr/scripts/bg.fish" + ]; + profile.outputs = [ + { + criteria = "eDP-1"; + mode = "1920x1080"; + position = "0,0"; + scale = 1; + } + { + criteria = "Samsung Electric Company S22C200 H4MF202355"; + mode = "1920x1080"; + position = "2000,1200"; + } + ]; + } + { profile.name = "remi"; + profile.exec = [ + "exec /home/djai/.config/hypr/scripts/waybar.sh" + "exec swaybg -i /home/djai/Pictures/wallpapers/space.png" + ]; + profile.outputs = [ + { + criteria = "eDP-1"; + mode = "1920x1080"; + position = "0,0"; + scale = 1; + } + { + criteria = "HDMI-A-1"; + mode = "1360x768"; + position = "2000,1200"; + scale = 1.0; + } + ]; + } + ]; + }; +} diff --git a/hosts/tuxcomp/kanshi.nix b/hosts/tuxcomp/kanshi.nix index 36ae74d..9cf2ad3 100644 --- a/hosts/tuxcomp/kanshi.nix +++ b/hosts/tuxcomp/kanshi.nix @@ -49,7 +49,7 @@ { criteria = "Samsung Electric Company S22C200 H4MF202355"; mode = "1920x1080"; - position = "0,1200"; + position = "2000,1200"; } ]; }