aboutsummaryrefslogtreecommitdiffstats
path: root/xorg-xrandr/setres/__main__.py.gpp
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-xrandr/setres/__main__.py.gpp')
-rwxr-xr-xxorg-xrandr/setres/__main__.py.gpp17
1 files changed, 16 insertions, 1 deletions
diff --git a/xorg-xrandr/setres/__main__.py.gpp b/xorg-xrandr/setres/__main__.py.gpp
index 9c0f1eb..b25f9d6 100755
--- a/xorg-xrandr/setres/__main__.py.gpp
+++ b/xorg-xrandr/setres/__main__.py.gpp
@@ -51,10 +51,25 @@ if hostname == 'zenith':
sec_position = 'left'
elif hostname == 'hades':
- prime, sec = None, None
+ prime = None
+ sec = None
embed = screen['eDP1']
+
+ prime_alt = None
+ sec_alt = None
+
embed.want_mode = '1920x1280'
+elif hostname == 'north':
+ prime = None
+ sec = None
+ embed = screen['eDP1']
+
+ prime_alt = None
+ sec_alt = None
+
+ embed.want_mode = '1920x1080'
+
%%>hostname="$(hostname | tr '[A-Z]' '[a-z]')"
%%>file="${HOME}/.dotfiles/.private/setres/${hostname}"
%%>if test -r "${file}"; then