diff --git a/sway/displays.pl b/sway/displays.pl index ffb5ac3..d59be74 100755 --- a/sway/displays.pl +++ b/sway/displays.pl @@ -72,27 +72,12 @@ my %outputs = ( # Second-level keys are the display friendly-names, above # Third-level are the actual settings for that display my %configs = ( - 'Both' => { - 'x1' => { - 'on' => 0 - }, + 'eInk' => { 'eInk' => { - 'on' => 1, - 'width' => 3200, - 'height' => 1800, - 'x' => 0, - 'y' => 0, - 'rotate' => 90, - 'scale' => 2, - 'waybar' => 'top', - 'fallback' => '#010101', - }, - 'TV' => { 'on' => 1, 'width' => 3840, 'height' => 2160, - 'x' => 900, - 'refresh' => 30, + 'x' => 0, 'y' => 0, 'rotate' => 0, 'scale' => 1.33333, @@ -100,13 +85,45 @@ my %configs = ( 'fallback' => '#010101', 'bg' => "$ENV{HOME}/wallpapers/wallpaper.png" }, + 'TV' => { + 'on' => 0 + }, + 'x13' => { + 'on' => 0 + }, }, - 'all' => { + 'TV' => { + 'eInk' => { + 'on' => 0 + }, + '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" + }, + 'x13' => { + 'on' => 0 + }, + }, + 'x13' => { + 'eInk' => { + 'on' => 0 + }, + 'TV' => { + 'on' => 0 + }, 'x13' => { 'on' => 1, 'width' => 2560, 'height' => 1440, - 'x' => 3680, + 'x' => 0, 'y' => 0, 'rotate' => 0, 'scale' => 1.5, @@ -114,6 +131,36 @@ my %configs = ( 'fallback' => '#010101', 'bg' => "$ENV{HOME}/wallpapers/wallpaper.png" }, + }, + 'eInk+x13' => { + 'x13' => { + 'on' => 1, + 'width' => 2560, + 'height' => 1440, + 'x' => 0, + 'y' => 0, + 'rotate' => 0, + 'scale' => 1.5, + 'waybar' => 'bottom', + 'fallback' => '#000000', + 'bg' => "$ENV{HOME}/wallpapers/wallpaper.png" + }, + 'eInk' => { + 'on' => 1, + 'width' => 3200, + 'height' => 1800, + 'x' => 0, + 'y' => 960, + 'rotate' => 90, + 'scale' => 2, + 'waybar' => 'top', + 'fallback' => '#010101', + }, + 'TV' => { + 'on' => 0, + } + }, + 'TV+eInk' => { 'eInk' => { 'on' => 1, 'width' => 3200, @@ -133,95 +180,84 @@ my %configs = ( 'x' => 0, 'y' => 0, 'rotate' => 0, - 'scale' => 1.33333, + 'scale' => 1.3333333333, 'waybar' => 'top', - 'fallback' => '#010101', + 'fallback' => '#000000', 'bg' => "$ENV{HOME}/wallpapers/wallpaper.png" }, - }, - 'x1' => { 'x1' => { + 'on' => 0 + }, + }, + 'TV+x13' => { + 'eInk' => { + 'on' => 0, + }, + 'TV' => { 'on' => 1, - 'width' => 2560, - 'height' => 1440, + 'width' => 3840, + 'height' => 2160, + 'refresh' => 30, 'x' => 0, 'y' => 0, 'rotate' => 0, - 'scale' => 1.43, - 'waybar' => 'bottom', - 'fallback' => '#010101', + 'scale' => 1.333333333, + 'waybar' => 'top', + 'fallback' => '#000000', 'bg' => "$ENV{HOME}/wallpapers/wallpaper.png" }, - 'x13' => { - 'on' => 0 - }, - 'eInk' => { - 'on' => 0 - }, - 'TV' => { - 'on' => 0 - } - }, - 'x13' => { - 'x1' => { - 'on' => 0 - }, 'x13' => { 'on' => 1, 'width' => 2560, 'height' => 1440, - 'x' => 0, + 'refresh' => 30, + 'x' => 2880, 'y' => 0, 'rotate' => 0, 'scale' => 1.5, 'waybar' => 'bottom', - 'fallback' => '#010101', + 'fallback' => '#000000', 'bg' => "$ENV{HOME}/wallpapers/wallpaper.png" }, - 'eInk' => { - 'on' => 0 - }, - 'TV' => { - 'on' => 0 - } }, - 'eInk' => { - 'x1' => { - 'on' => 0 - }, + 'all' => { 'eInk' => { 'on' => 1, - 'width' => 3840, - 'height' => 2160, - 'x' => 0, - 'y' => 0, - 'rotate' => 0, - 'scale' => 1.33333, + 'width' => 3200, + 'height' => 1800, + 'x' => 2880, + 'y' => 960, + 'rotate' => 90, + 'scale' => 2, 'waybar' => 'top', 'fallback' => '#010101', - 'bg' => "$ENV{HOME}/wallpapers/wallpaper.png" - }, - 'TV' => { - 'on' => 0 - }, - }, - 'TV' => { - 'x1' => { - 'on' => 0 }, 'TV' => { 'on' => 1, 'width' => 3840, 'height' => 2160, + 'refresh' => 30, 'x' => 0, 'y' => 0, 'rotate' => 0, - 'scale' => 1.33333, + 'scale' => 1.3333333, 'waybar' => 'top', - 'fallback' => '#010101', + 'fallback' => '#000000', 'bg' => "$ENV{HOME}/wallpapers/wallpaper.png" }, - } + 'x13' => { + 'on' => 1, + 'width' => 2560, + 'height' => 1440, + 'x' => 2880, + 'y' => 0, + 'rotate' => 0, + 'scale' => 1.5, + 'waybar' => 'bottom', + 'fallback' => '#000000', + 'bg' => "$ENV{HOME}/wallpapers/wallpaper.png" + }, + }, ); ########################################################################