diff options
| author | alex <[email protected]> | 2026-10-17 17:23:40 +0200 |
|---|---|---|
| committer | alex <[email protected]> | 2026-10-17 17:23:40 +0200 |
| commit | 2d06f3bdefd12a7e0b2dbe1f7c43decd3327d404 (patch) | |
| tree | 9452bb5608128d4d87909df343b60cca5a05ae03 /home-manager/hypr | |
| parent | 5e91dc9e25815829114c9cf8162e87da6dffd396 (diff) | |
| download | nixos-2d06f3bdefd12a7e0b2dbe1f7c43decd3327d404.tar.xz nixos-2d06f3bdefd12a7e0b2dbe1f7c43decd3327d404.zip | |
added host specific hyprland configs
Diffstat (limited to 'home-manager/hypr')
| -rw-r--r-- | home-manager/hypr/config/monitors.lua | 29 | ||||
| -rw-r--r-- | home-manager/hypr/hosts/default.lua | 2 | ||||
| -rw-r--r-- | home-manager/hypr/hosts/laptop.lua | 1 | ||||
| -rw-r--r-- | home-manager/hypr/hosts/phosphophyllite.lua | 28 | ||||
| -rw-r--r-- | home-manager/hypr/hyprland.lua | 1 |
5 files changed, 33 insertions, 28 deletions
diff --git a/home-manager/hypr/config/monitors.lua b/home-manager/hypr/config/monitors.lua index 883ed6b..c56e64b 100644 --- a/home-manager/hypr/config/monitors.lua +++ b/home-manager/hypr/config/monitors.lua @@ -1,28 +1 @@ -hl.monitor({ - output = "DP-2", - mode = "2560x1440@144", - position = "0x0", - scale = 1 -}) -hl.monitor({ - output = "HDMI-A-1", - mode = "1920x1080@60", - position = "2560x0", - scale = 1, - transform= 3 -}) - - -hl.config({ - master = { - mfact = 0.60, -- Master window takes 65%, stack takes 35% - orientation = "top" -- Master on left, stack on right - } -}) - -hl.workspace_rule({ workspace = "10", monitor = "HDMI-A-1", default = true, layout = "master" }) -hl.workspace_rule({ workspace = "9", monitor = "HDMI-A-1"}) - -hl.window_rule({ match = { class = "discord" }, workspace = "10" }) -hl.window_rule({ match = { class = "vesktop" }, workspace = "10" }) -hl.window_rule({ match = { class = "Spotify" }, workspace = "10" }) +hl.monitor({ output = ",preferred,auto,1" }) diff --git a/home-manager/hypr/hosts/default.lua b/home-manager/hypr/hosts/default.lua new file mode 100644 index 0000000..eff8e67 --- /dev/null +++ b/home-manager/hypr/hosts/default.lua @@ -0,0 +1,2 @@ +-- Default host overrides for Hyprland. +-- Keep this minimal and host-agnostic. diff --git a/home-manager/hypr/hosts/laptop.lua b/home-manager/hypr/hosts/laptop.lua new file mode 100644 index 0000000..e600d44 --- /dev/null +++ b/home-manager/hypr/hosts/laptop.lua @@ -0,0 +1 @@ +hl.monitor({ output = "eDP-1,preferred,auto,1" }) diff --git a/home-manager/hypr/hosts/phosphophyllite.lua b/home-manager/hypr/hosts/phosphophyllite.lua new file mode 100644 index 0000000..478a4fe --- /dev/null +++ b/home-manager/hypr/hosts/phosphophyllite.lua @@ -0,0 +1,28 @@ +hl.monitor({ + output = "DP-2", + mode = "2560x1440@144", + position = "0x0", + scale = 1, +}) + +hl.monitor({ + output = "HDMI-A-1", + mode = "1920x1080@60", + position = "2560x0", + scale = 1, + transform = 3, +}) + +hl.config({ + master = { + mfact = 0.60, + orientation = "top", + }, +}) + +hl.workspace_rule({ workspace = "10", monitor = "HDMI-A-1", default = true, layout = "master" }) +hl.workspace_rule({ workspace = "9", monitor = "HDMI-A-1" }) + +hl.window_rule({ match = { class = "discord" }, workspace = "10" }) +hl.window_rule({ match = { class = "vesktop" }, workspace = "10" }) +hl.window_rule({ match = { class = "Spotify" }, workspace = "10" }) diff --git a/home-manager/hypr/hyprland.lua b/home-manager/hypr/hyprland.lua index ccb5ac2..9741363 100644 --- a/home-manager/hypr/hyprland.lua +++ b/home-manager/hypr/hyprland.lua @@ -2,5 +2,6 @@ require("config/variables") require("config/env") require("config/autostart") require("config/monitors") +require("host") require("config/settings") require("config/keybinds") |
