Compare commits

..
1 Commits
Author SHA1 Message Date
fzechert 8509f2ad1c make hyprland-monitors a template 2026-08-30 00:57:11 +02:00
@@ -1,3 +1,6 @@
local workspace_rules = {}
{{ if eq .chezmoi.hostname "ia-frank-xps13" -}}
hl.monitor({
output = "eDP-1",
scale = 1,
@@ -18,7 +21,6 @@ hl.monitor({
position = "-5120x0",
mode = "2560x1440@120"
})
local workspace_rules = {
{ workspace = "6", monitor = "desc:Dell Inc. DELL U2724D 1CQFMF4", default = true, persistent = true },
{ workspace = "7", monitor = "desc:Dell Inc. DELL U2724D 1CQFMF4", persistent = true },
@@ -31,6 +33,36 @@ local workspace_rules = {
{ workspace = "9", monitor = "eDP-1", default = true, persistent = true },
{ workspace = "10", monitor = "eDP-1", persistent = true },
}
{{- else if eq .chezmoi.hostname "arch-next" -}}
hl.monitor({
output = "desc:GIGA-BYTE TECHNOLOGY CO. LTD. M34WQ 0x00000B52",
scale = 1,
position = "0x0",
mode = "3440x1440@120",
})
hl.monitor({
output = "desc:Dell Inc. DELL U2724D DL7R834",
scale = 1,
position = "3440x0",
mode = "2560x1440@120",
})
hl.monitor({
output = "desc:Dell Inc. DELL U2414H 292K475V26JL",
scale = 1,
position = "760x-1080",
mode = "1920x1080@60",
})
local workspace_rules = {
{ workspace = "1", monitor = "desc:GIGA-BYTE TECHNOLOGY CO. LTD. M34WQ 0x00000B52", default = true, persistent = true},
{ workspace = "9", monitor = "desc:Dell Inc. DELL U2724D DL7R834", default = true, persistent = true},
{ workspace = "10", monitor = "desc:Dell Inc. DELL U2414H 292K475V26JL", default = true, persistent = true},
}
{{- end }}
for _, rule in ipairs(workspace_rules) do
hl.workspace_rule(rule)
end