From d4edb0b33173fdb3cf9034af1ad12aa39c55b869 Mon Sep 17 00:00:00 2001
From: JozanLeClerc <bousset.rudy@gmail.com>
Date: Mon, 11 Apr 2022 11:41:12 +0200
Subject: update

---
 .local/bin/mainscreen | 10 ----------
 .local/bin/scrmain    | 11 +++++++++++
 .local/bin/scrwork    | 11 +++++++++++
 3 files changed, 22 insertions(+), 10 deletions(-)
 delete mode 100755 .local/bin/mainscreen
 create mode 100755 .local/bin/scrmain
 create mode 100755 .local/bin/scrwork

(limited to '.local/bin')

diff --git a/.local/bin/mainscreen b/.local/bin/mainscreen
deleted file mode 100755
index c621ba1..0000000
--- a/.local/bin/mainscreen
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-xrandr --output LVDS-1 --primary --mode 1366x768 --pos 0x0 --rotate normal
-xrandr --output VGA-1 --off
-xrandr --output HDMI-1 --off
-xrandr --output DP-1 --off
-xrandr --output HDMI-2 --off
-xrandr --output HDMI-3 --off
-xrandr --output DP-2 --off
-xrandr --output DP-3 --off
diff --git a/.local/bin/scrmain b/.local/bin/scrmain
new file mode 100755
index 0000000..1e0bbce
--- /dev/null
+++ b/.local/bin/scrmain
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+xrandr --output LVDS-1 --primary --mode 1366x768 --pos 0x0 --rotate normal
+xrandr --output VGA-1 --off
+xrandr --output HDMI-1 --off
+xrandr --output DP-1 --off
+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
-- 
cgit v1.2.3