Finally working display toggle
This commit is contained in:
@@ -1,14 +1,12 @@
|
||||
# Generated with hyprdynamicmonitors freeze.
|
||||
# mode: "laptop" = interne seul, "external" = externe seul, sinon (both/vide) = les deux
|
||||
-- Généré par hyprdynamicmonitors
|
||||
-- mode: "laptop" = interne seul, "external" = externe seul, sinon = les deux
|
||||
{{ if eq .mode "laptop" }}
|
||||
monitor=desc:BOE 0x0B29,2560x1600@48.00,0x0,1.33333333,transform,0,vrr,0
|
||||
monitor=desc:Shenzhen KTC Technology Group H27T7P-2 0000000000000,disable
|
||||
hl.monitor({ output = "desc:BOE 0x0B29", mode = "2560x1600@48.00", position = "0x0", scale = 1.33333333, transform = 0, vrr = 0, disabled = false })
|
||||
hl.monitor({ output = "desc:Shenzhen KTC Technology Group H27T7P-2 0000000000000", disabled = true })
|
||||
{{ else if eq .mode "external" }}
|
||||
monitor=desc:BOE 0x0B29,disable
|
||||
monitor=desc:Shenzhen KTC Technology Group H27T7P-2 0000000000000,2560x1440@119.99800,0x0,1.00000000,transform,0,vrr,0
|
||||
hl.monitor({ output = "desc:BOE 0x0B29", disabled = true })
|
||||
hl.monitor({ output = "desc:Shenzhen KTC Technology Group H27T7P-2 0000000000000", mode = "2560x1440@119.99800", position = "0x0", scale = 1.0, transform = 0, vrr = 0, disabled = false })
|
||||
{{ else }}
|
||||
# <<<<< TUI AUTO START
|
||||
monitor=desc:BOE 0x0B29,2560x1600@48.00,320x1440,1.33333333,transform,0,vrr,0
|
||||
monitor=desc:Shenzhen KTC Technology Group H27T7P-2 0000000000000,2560x1440@119.99800,0x0,1.00000000,transform,0,vrr,0
|
||||
# <<<<< TUI AUTO END
|
||||
{{ end }}
|
||||
hl.monitor({ output = "desc:BOE 0x0B29", mode = "2560x1600@48.00", position = "320x1440", scale = 1.33333333, transform = 0, vrr = 0, disabled = false })
|
||||
hl.monitor({ output = "desc:Shenzhen KTC Technology Group H27T7P-2 0000000000000", mode = "2560x1440@119.99800", position = "0x0", scale = 1.0, transform = 0, vrr = 0, disabled = false })
|
||||
{{ end }}
|
||||
@@ -1,14 +1,12 @@
|
||||
# Generated with hyprdynamicmonitors freeze.
|
||||
# mode: "laptop" = interne seul, "external" = externe seul, sinon (both/vide) = les deux
|
||||
-- Généré par hyprdynamicmonitors
|
||||
-- mode: "laptop" = interne seul, "external" = externe seul, sinon = les deux
|
||||
{{ if eq .mode "laptop" }}
|
||||
monitor=desc:BOE 0x0B29,2560x1600@120.00,0x0,1.33333333,transform,0,vrr,0
|
||||
monitor=desc:Shenzhen KTC Technology Group H27T7P-2 0000000000000,disable
|
||||
hl.monitor({ output = "desc:BOE 0x0B29", mode = "2560x1600@120.00", position = "0x0", scale = 1.33333333, transform = 0, vrr = 0, disabled = false })
|
||||
hl.monitor({ output = "desc:Shenzhen KTC Technology Group H27T7P-2 0000000000000", disabled = true })
|
||||
{{ else if eq .mode "external" }}
|
||||
monitor=desc:BOE 0x0B29,disable
|
||||
monitor=desc:Shenzhen KTC Technology Group H27T7P-2 0000000000000,2560x1440@119.99800,0x0,1.00000000,transform,0,vrr,0
|
||||
hl.monitor({ output = "desc:BOE 0x0B29", disabled = true })
|
||||
hl.monitor({ output = "desc:Shenzhen KTC Technology Group H27T7P-2 0000000000000", mode = "2560x1440@119.99800", position = "0x0", scale = 1.0, transform = 0, vrr = 0, disabled = false })
|
||||
{{ else }}
|
||||
# <<<<< TUI AUTO START
|
||||
monitor=desc:BOE 0x0B29,2560x1600@120.00,320x1440,1.33333333,transform,0,vrr,0
|
||||
monitor=desc:Shenzhen KTC Technology Group H27T7P-2 0000000000000,2560x1440@119.99800,0x0,1.00000000,transform,0,vrr,0
|
||||
# <<<<< TUI AUTO END
|
||||
{{ end }}
|
||||
hl.monitor({ output = "desc:BOE 0x0B29", mode = "2560x1600@120.00", position = "320x1440", scale = 1.33333333, transform = 0, vrr = 0, disabled = false })
|
||||
hl.monitor({ output = "desc:Shenzhen KTC Technology Group H27T7P-2 0000000000000", mode = "2560x1440@119.99800", position = "0x0", scale = 1.0, transform = 0, vrr = 0, disabled = false })
|
||||
{{ end }}
|
||||
@@ -0,0 +1,7 @@
|
||||
{{- range .Monitors}}
|
||||
{{- if eq .Name "eDP-1"}}
|
||||
hl.monitor({ output = "eDP-1", mode = "2560x1600@48.00", position = "320x1440", scale = 1.3333334, disabled = false })
|
||||
{{- else}}
|
||||
hl.monitor({ output = "{{.Name}}", mode = "preferred", position = "auto", scale = 1, disabled = false })
|
||||
{{- end}}
|
||||
{{- end}}
|
||||
@@ -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}}
|
||||
@@ -1 +1 @@
|
||||
monitor=desc:BOE 0x0B29,2560x1600@48.00,0x0,1.33333333,transform,0,vrr,0
|
||||
hl.monitor({ output = "desc:BOE 0x0B29", mode = "2560x1600@48.00", position = "0x0", scale = 1.33333333, transform = 0, vrr = 0, disabled = false })
|
||||
@@ -1 +1 @@
|
||||
monitor=desc:BOE 0x0B29,2560x1600@120.00,0x0,1.33333333,transform,0,vrr,0
|
||||
hl.monitor({ output = "desc:BOE 0x0B29", mode = "2560x1600@120.00", position = "0x0", scale = 1.33333333, transform = 0, vrr = 0, disabled = false })
|
||||
Reference in New Issue
Block a user