summaryrefslogtreecommitdiffstats
path: root/.bin/x11-screen
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2024-05-14 18:53:03 +0200
committerRomain Gonçalves <me@rgoncalves.se>2024-05-14 18:53:03 +0200
commit612dbb6993c8a548744f29a4d15d6b31325357c8 (patch)
tree0d61cee0ea74ac811268d0ffc00d3d55f7174112 /.bin/x11-screen
parent23e2bfd987c430bb41bc7860c46c2f572e9e2db4 (diff)
downloaddots-612dbb6993c8a548744f29a4d15d6b31325357c8.tar.gz
Tue May 14 06:53:03 PM CEST 2024HEADtrunk
Diffstat (limited to '.bin/x11-screen')
-rwxr-xr-x.bin/x11-screen4
1 files changed, 3 insertions, 1 deletions
diff --git a/.bin/x11-screen b/.bin/x11-screen
index 38ee006..82f8650 100755
--- a/.bin/x11-screen
+++ b/.bin/x11-screen
@@ -1,5 +1,7 @@
#!/bin/sh
+set -x
+
__hidpi() {
xrdb -merge ~/.Xresources.hidpi
@@ -25,7 +27,7 @@ if [ "${hostname}" = "ws-xps01" ]; then
__hidpi
fi
-if [ "${hostname}" = "work-01" ]; then
+if [ "${hostname}" = "ws-work01" ]; then
xrandr --output eDP1 --mode 1920x1080
xrandr --output DP3 --off
xrandr --addmode DP3 1920x1080
remember that computers suck.