I have a new yoga, need disambiguation
Also add an 'all' which supports eDP-1 and Both
This commit is contained in:
parent
f0ea056531
commit
fbf1e353fa
|
@ -55,7 +55,8 @@ my $active_outputs = "$ENV{'HOME'}/.spool/active_outputs";
|
||||||
my %outputs = (
|
my %outputs = (
|
||||||
'DENON-AVAMP' => 'TV',
|
'DENON-AVAMP' => 'TV',
|
||||||
'Paperlike253' => 'eInk',
|
'Paperlike253' => 'eInk',
|
||||||
'0x4140' => 'yoga'
|
'0x4140' => 'x1',
|
||||||
|
'0x1305' => 'x13'
|
||||||
);
|
);
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
|
@ -67,7 +68,7 @@ my %outputs = (
|
||||||
# Third-level are the actual settings for that display
|
# Third-level are the actual settings for that display
|
||||||
my %configs = (
|
my %configs = (
|
||||||
'Both' => {
|
'Both' => {
|
||||||
'yoga' => {
|
'x1' => {
|
||||||
'on' => 0
|
'on' => 0
|
||||||
},
|
},
|
||||||
'eInk' => {
|
'eInk' => {
|
||||||
|
@ -94,8 +95,45 @@ my %configs = (
|
||||||
'bg' => "$ENV{HOME}/wallpapers/wallpaper.png"
|
'bg' => "$ENV{HOME}/wallpapers/wallpaper.png"
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
'all' => {
|
||||||
|
'x13' => {
|
||||||
|
'on' => 1,
|
||||||
|
'width' => 2560,
|
||||||
|
'height' => 1440,
|
||||||
|
'x' => 3680,
|
||||||
|
'y' => 0,
|
||||||
|
'rotate' => 0,
|
||||||
|
'scale' => 1.5,
|
||||||
|
'waybar' => 'bottom',
|
||||||
|
'fallback' => '#010101',
|
||||||
|
'bg' => "$ENV{HOME}/wallpapers/wallpaper.png"
|
||||||
|
},
|
||||||
|
'eInk' => {
|
||||||
|
'on' => 1,
|
||||||
|
'width' => 3200,
|
||||||
|
'height' => 1800,
|
||||||
|
'x' => 2880,
|
||||||
|
'y' => 0,
|
||||||
|
'rotate' => 90,
|
||||||
|
'scale' => 2,
|
||||||
|
'waybar' => 'top',
|
||||||
|
'fallback' => '#010101',
|
||||||
|
},
|
||||||
|
'TV' => {
|
||||||
|
'on' => 1,
|
||||||
|
'width' => 3840,
|
||||||
|
'height' => 2160,
|
||||||
|
'x' => 0,
|
||||||
|
'y' => 0,
|
||||||
|
'rotate' => 0,
|
||||||
|
'scale' => 1.33333,
|
||||||
|
'waybar' => 'top',
|
||||||
|
'fallback' => '#010101',
|
||||||
|
'bg' => "$ENV{HOME}/wallpapers/wallpaper.png"
|
||||||
|
},
|
||||||
|
},
|
||||||
'detached' => {
|
'detached' => {
|
||||||
'yoga' => {
|
'x1' => {
|
||||||
'on' => 1,
|
'on' => 1,
|
||||||
'width' => 2560,
|
'width' => 2560,
|
||||||
'height' => 1440,
|
'height' => 1440,
|
||||||
|
@ -115,7 +153,7 @@ my %configs = (
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'eInk' => {
|
'eInk' => {
|
||||||
'yoga' => {
|
'x1' => {
|
||||||
'on' => 0
|
'on' => 0
|
||||||
},
|
},
|
||||||
'eInk' => {
|
'eInk' => {
|
||||||
|
@ -135,7 +173,7 @@ my %configs = (
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'TV' => {
|
'TV' => {
|
||||||
'yoga' => {
|
'x1' => {
|
||||||
'on' => 0
|
'on' => 0
|
||||||
},
|
},
|
||||||
'TV' => {
|
'TV' => {
|
||||||
|
|
Loading…
Reference in New Issue