summaryrefslogtreecommitdiffstats
path: root/.local/bin/scr2
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2025-09-01 20:14:21 +0200
committerJoe <rbo@gmx.us>2025-09-01 20:14:21 +0200
commit14b85433dbbc43af4294fa5353e69189121eea1b (patch)
treed775104accc1f91512897d56a025010e564f6517 /.local/bin/scr2
parentup (diff)
downloaddotfiles-bsd-14b85433dbbc43af4294fa5353e69189121eea1b.tar.gz
dotfiles-bsd-14b85433dbbc43af4294fa5353e69189121eea1b.tar.bz2
dotfiles-bsd-14b85433dbbc43af4294fa5353e69189121eea1b.tar.xz
dotfiles-bsd-14b85433dbbc43af4294fa5353e69189121eea1b.tar.zst
dotfiles-bsd-14b85433dbbc43af4294fa5353e69189121eea1b.zip
Diffstat (limited to '')
-rwxr-xr-x.local/bin/scr227
1 files changed, 19 insertions, 8 deletions
diff --git a/.local/bin/scr2 b/.local/bin/scr2
index ea823c8..6631c01 100755
--- a/.local/bin/scr2
+++ b/.local/bin/scr2
@@ -1,12 +1,23 @@
#!/bin/sh
-xrandr \
- --output HDMI-0 --mode 1920x1080 --pos 2560x0 --rotate normal \
- --output DP-0 --off \
- --output DP-1 --off \
- --output DP-2 --off \
- --output DP-3 --off \
- --output DP-4 --primary --mode 2560x1440 --rate 180 --pos 0x0 --rotate normal \
- --output DP-5 --off
+if [ $1 == "low" ]; then
+ xrandr \
+ --output HDMI-0 --mode 1920x1080 --pos 1920x0 --rotate normal \
+ --output DP-0 --off \
+ --output DP-1 --off \
+ --output DP-2 --off \
+ --output DP-3 --off \
+ --output DP-4 --primary --mode 1920x1080 --rate 144 --pos 0x0 --rotate normal \
+ --output DP-5 --off
+else
+ xrandr \
+ --output HDMI-0 --mode 1920x1080 --pos 2560x0 --rotate normal \
+ --output DP-0 --off \
+ --output DP-1 --off \
+ --output DP-2 --off \
+ --output DP-3 --off \
+ --output DP-4 --primary --mode 2560x1440 --rate 144 --pos 0x0 --rotate normal \
+ --output DP-5 --off
+fi
setwp "$HOME"/pics/wp.png