From bcdb3419af4a28135e2e668cd61b49db72e95796 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 5 Dec 2021 13:44:24 +0000 Subject: added extra configurations --- scripts/tablet | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'scripts/tablet') diff --git a/scripts/tablet b/scripts/tablet index 6702ace..3b49064 100755 --- a/scripts/tablet +++ b/scripts/tablet @@ -9,9 +9,10 @@ tablet_ratio = (lambda s: float(s[0]) / float(s[1]))(sys.argv[4].split(":")) if #Layout of screens: (x, y, w, h) screens = [ - (0,0, 1080, 1920), - (1080, 0, 2560, 1440), - (3640, 208, 1280, 1024), + (3840, 0, 1080, 1920), + (1280, 0, 2560, 1440), + (4920, 0, 1080, 1920), + (0, 0, 1280, 1024), ] #TODO find this with xrandr @@ -24,7 +25,7 @@ offsety = target[1] #Size of the full screen areas sh = 1920 -sw = 1280 + 2560 + 1080 +sw = 1280 + 2560 + 1080 + 1080 #TODO calculate using list of screens #Aspect ratio of the tablet, to avoid weird scaling problems -- cgit v1.2.1