summaryrefslogtreecommitdiffstats
path: root/.local
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2022-04-11 11:41:12 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2022-04-11 11:41:12 +0200
commitd4edb0b33173fdb3cf9034af1ad12aa39c55b869 (patch)
tree991a3b5c1d972208d603289317d2650f1382f004 /.local
parentMount scripts rework incoming (diff)
downloaddotfiles-bsd-d4edb0b33173fdb3cf9034af1ad12aa39c55b869.tar.gz
dotfiles-bsd-d4edb0b33173fdb3cf9034af1ad12aa39c55b869.tar.bz2
dotfiles-bsd-d4edb0b33173fdb3cf9034af1ad12aa39c55b869.tar.xz
dotfiles-bsd-d4edb0b33173fdb3cf9034af1ad12aa39c55b869.tar.zst
dotfiles-bsd-d4edb0b33173fdb3cf9034af1ad12aa39c55b869.zip
update
Diffstat (limited to '.local')
-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