summaryrefslogtreecommitdiffstats
path: root/.local/bin/scrwork
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/scrwork')
-rwxr-xr-x.local/bin/scrwork11
1 files changed, 11 insertions, 0 deletions
diff --git a/.local/bin/scrwork b/.local/bin/scrwork
new file mode 100755
index 0000000..305a991
--- /dev/null
+++ b/.local/bin/scrwork
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+xrandr --output LVDS-1 --primary --mode 1366x768 --pos 0x312 --rotate normal
+xrandr --output VGA-1 --off
+xrandr --output HDMI-1 --mode 1920x1080 --pos 1366x0 --rotate normal --output DP-1 --off
+xrandr --output HDMI-2 --off
+xrandr --output HDMI-3 --off
+xrandr --output DP-2 --off
+xrandr --output DP-3 --off
+sysctl hw.snd.default_unit=0 >/dev/null
+setwp