summaryrefslogtreecommitdiffstats
path: root/.bin/x11-screen
diff options
context:
space:
mode:
Diffstat (limited to '.bin/x11-screen')
-rwxr-xr-x.bin/x11-screen14
1 files changed, 13 insertions, 1 deletions
diff --git a/.bin/x11-screen b/.bin/x11-screen
index ccccda7..38ee006 100755
--- a/.bin/x11-screen
+++ b/.bin/x11-screen
@@ -22,6 +22,18 @@ fi
if [ "${hostname}" = "ws-xps01" ]; then
xrandr --output eDP1 --mode 3200x1800
- echo a
__hidpi
fi
+
+if [ "${hostname}" = "work-01" ]; then
+ xrandr --output eDP1 --mode 1920x1080
+ xrandr --output DP3 --off
+ xrandr --addmode DP3 1920x1080
+ xrandr --output DP3 --mode 1920x1080 --same-as eDP1
+
+ case "${1}" in
+ vertical*)
+ xrandr --output DP3 --scale 1x1 --rotate left --right-of eDP1
+ ;;
+ esac
+fi
remember that computers suck.