From bb47ab177d4734dc1ffb022c1ae219c11332050b Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Thu, 18 Jul 2024 00:29:41 +0200 Subject: [PATCH] Set monitor orientation on a per host basis --- modules/home/hyprland/default.nix | 2 -- users/seb/@north/default.nix | 13 ++++++++----- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/modules/home/hyprland/default.nix b/modules/home/hyprland/default.nix index acbcfd6..695e669 100644 --- a/modules/home/hyprland/default.nix +++ b/modules/home/hyprland/default.nix @@ -35,8 +35,6 @@ "cliphist wipe && wl-paste --watch cliphist store" ]; - workspace = [ "m[HDMI-A-1],layoutopt:orientation:top" ]; - input = { kb_layout = "de"; kb_variant = "nodeadkeys"; diff --git a/users/seb/@north/default.nix b/users/seb/@north/default.nix index 322da3c..cbef39e 100644 --- a/users/seb/@north/default.nix +++ b/users/seb/@north/default.nix @@ -17,10 +17,13 @@ pkgs.gimp ]; - wayland.windowManager.hyprland.settings.monitor = [ - "Unknown-1,disable" - "DP-1,2560x1440@144,0x0,1" - "HDMI-A-1,2560x1440@60,-1440x-617,1,transform,1" - ]; + wayland.windowManager.hyprland.settings = { + monitor = [ + "Unknown-1,disable" + "DP-1,2560x1440@144,0x0,1" + "HDMI-A-1,2560x1440@60,-1440x-617,1,transform,1" + ]; + workspace = [ "m[HDMI-A-1],layoutopt:orientation:top" ]; + }; }; }