summaryrefslogtreecommitdiffstats
path: root/.local/bin
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-x.local/bin/scrmain (renamed from .local/bin/mainscreen)1
-rwxr-xr-x.local/bin/scrwork11
2 files changed, 12 insertions, 0 deletions
diff --git a/.local/bin/mainscreen b/.local/bin/scrmain
index c621ba1..1e0bbce 100755
--- a/.local/bin/mainscreen
+++ b/.local/bin/scrmain
@@ -8,3 +8,4 @@ xrandr --output HDMI-2 --off
xrandr --output HDMI-3 --off
xrandr --output DP-2 --off
xrandr --output DP-3 --off
+setwp
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