summaryrefslogtreecommitdiffstats
path: root/.local/bin/scr2
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/scr2')
-rwxr-xr-x.local/bin/scr221
1 files changed, 21 insertions, 0 deletions
diff --git a/.local/bin/scr2 b/.local/bin/scr2
new file mode 100755
index 0000000..0f98a7b
--- /dev/null
+++ b/.local/bin/scr2
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+if [ "$1" = "low" ]; then
+ xrandr --output DP-4 --mode 1920x1080 --rate 144 --pos 0x0 --rotate normal --primary
+ xrandr --output DP-2 --mode 1920x1080 --rate 144 --pos 1920x0 --rotate normal
+ xrandr --output HDMI-0 --off
+ xrandr --output DP-0 --off
+ xrandr --output DP-1 --off
+ xrandr --output DP-3 --off
+ xrandr --output DP-5 --off
+else
+ xrandr --output DP-4 --mode 2560x1440 --rate 144 --pos 0x0 --rotate normal --primary
+ xrandr --output DP-2 --mode 2560x1440 --rate 144 --pos 2560x0 --rotate normal
+ xrandr --output HDMI-0 --off
+ xrandr --output DP-0 --off
+ xrandr --output DP-1 --off
+ xrandr --output DP-3 --off
+ xrandr --output DP-5 --off
+fi
+
+setwp "$HOME"/pics/wp.png