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@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 }}
|
||||
Reference in New Issue
Block a user