diff --git a/home/wayland/default.nix b/home/wayland/default.nix index cd2b35b..05e9677 100644 --- a/home/wayland/default.nix +++ b/home/wayland/default.nix @@ -3,6 +3,7 @@ ./eww ./fuzzel ./hyprland + ./kanshi ./mako ./swayidle ./swaylock diff --git a/home/wayland/hyprland/hyprland.conf b/home/wayland/hyprland/hyprland.conf index c3d3053..ee19eee 100644 --- a/home/wayland/hyprland/hyprland.conf +++ b/home/wayland/hyprland/hyprland.conf @@ -1,5 +1,6 @@ # https://wiki.hyprland.org/Configuring/Monitors/ -monitor=eDP-1,1920x1080@120,0x0,1 +monitor=DP-3,1920x1080@120,0x0,1 +monitor=eDP-1,1920x1200,0x1080,1 # https://wiki.hyprland.org/Configuring/Keywords/ diff --git a/home/wayland/kanshi/default.nix b/home/wayland/kanshi/default.nix new file mode 100644 index 0000000..a98353e --- /dev/null +++ b/home/wayland/kanshi/default.nix @@ -0,0 +1,29 @@ +{...}: { + services.kanshi = { + enable = true; + systemdTarget = "hyprland-session.target"; + + profiles = { + office = { + outputs = [ + { + criteria = "DP-3"; + status = "enable"; + } + { + criteria = "eDP-1"; + status = "disable"; + } + ]; + }; + home = { + outputs = [ + { + criteria = "eDP-1"; + status = "enable"; + } + ]; + }; + }; + }; +}