diff --git a/home/applications/kanshi/default.nix b/home/applications/kanshi/default.nix new file mode 100644 index 0000000..af646ff --- /dev/null +++ b/home/applications/kanshi/default.nix @@ -0,0 +1,30 @@ +{ + services.kanshi = { + enable = true; + settings = [ + { + profile.name = "internal"; + profile.outputs = [ + { + criteria = "eDP-1"; + status = "enable"; + } + ]; + } + { + profile.name = "external"; + profile.outputs = [ + { + criteria = "eDP-1"; + status = "disable"; + } + { + criteria = "ASUSTek COMPUTER INC VG27AQML1A S5LMQS059959"; + mode = "2560x1440@240.001007"; + status = "enable"; + } + ]; + } + ]; + }; +} diff --git a/home/applications/sway/default.nix b/home/applications/sway/default.nix index d536d3c..bb348f9 100644 --- a/home/applications/sway/default.nix +++ b/home/applications/sway/default.nix @@ -18,6 +18,7 @@ in { imports = [ ../i3status-rust + ../kanshi ../mako ../swayidle ../swaylock