Finally working display toggle

This commit is contained in:
2026-08-29 13:54:04 +02:00
parent be4de88d1a
commit 659cbf0145
19 changed files with 120 additions and 117 deletions

View File

@@ -1,7 +1,7 @@
{{- range .Monitors}}
{{- if eq .Name "eDP-1"}}
monitor=eDP-1,2560x1600@120,320x1440,1.3333334
hl.monitor({ output = "eDP-1", mode = "2560x1600@120", position = "320x1440", scale = 1.3333334, disabled = false })
{{- else}}
monitor={{.Name}},preferred,auto,1
{{- end}}
hl.monitor({ output = "{{.Name}}", mode = "preferred", position = "auto", scale = 1, disabled = false })
{{- end}}
{{- end}}