diff --git a/home/hyprland/default.nix b/home/hyprland/default.nix index 226bc1d0..2a804889 100644 --- a/home/hyprland/default.nix +++ b/home/hyprland/default.nix @@ -12,6 +12,10 @@ services = { avizo.enable = true; syncthing.enable = true; + kanshi = { + enable = true; + systemdTarget = "hyprland-session.target"; + }; udiskie = { enable = true; notify = true; diff --git a/hosts/Ronin/home.nix b/hosts/Ronin/home.nix index 40721d02..c98767ac 100644 --- a/hosts/Ronin/home.nix +++ b/hosts/Ronin/home.nix @@ -13,6 +13,29 @@ outlook.primary = true; }; }; + services.kanshi = { + enable = true; + profiles = { + undocked = { + outputs = [{ + criteria = "eDP-1"; + status = "enable"; + }]; + }; + docked = { + outputs = [ + { + criteria = "Dell Inc. DELL P3223QE CCG8YN3"; + status = "enable"; + } + { + criteria = "eDP-1"; + status = "disable"; + } + ]; + }; + }; + }; xdg.configFile."hypr/extra.conf".text = '' misc { disable_hyprland_logo = true