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/hosts | |
| parent | 5e91dc9e25815829114c9cf8162e87da6dffd396 (diff) | |
| download | nixos-2d06f3bdefd12a7e0b2dbe1f7c43decd3327d404.tar.xz nixos-2d06f3bdefd12a7e0b2dbe1f7c43decd3327d404.zip | |
added host specific hyprland configs
Diffstat (limited to 'home-manager/hypr/hosts')
| -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 |
3 files changed, 31 insertions, 0 deletions
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" }) |
