diff options
author | Joe <rbo@gmx.us> | 2025-09-01 20:14:21 +0200 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2025-09-01 20:14:21 +0200 |
commit | 14b85433dbbc43af4294fa5353e69189121eea1b (patch) | |
tree | d775104accc1f91512897d56a025010e564f6517 /.local | |
parent | up (diff) | |
download | dotfiles-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/scr1 | 2 | ||||
-rwxr-xr-x | .local/bin/scr2 | 27 | ||||
-rwxr-xr-x | .local/bin/scr3 | 2 |
3 files changed, 21 insertions, 10 deletions
diff --git a/.local/bin/scr1 b/.local/bin/scr1 index 9e94aef..4c41065 100755 --- a/.local/bin/scr1 +++ b/.local/bin/scr1 @@ -6,7 +6,7 @@ xrandr \ --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-4 --primary --mode 2560x1440 --rate 144 --pos 0x0 --rotate normal \ --output DP-5 --off setwp "$HOME"/pics/wp.png 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 diff --git a/.local/bin/scr3 b/.local/bin/scr3 index 1724e90..a035fb0 100755 --- a/.local/bin/scr3 +++ b/.local/bin/scr3 @@ -6,7 +6,7 @@ xrandr \ --output DP-1 --off \ --output DP-2 --mode 1680x1050 --pos 0x0 --rotate normal \ --output DP-3 --off \ - --output DP-4 --primary --mode 2560x1440 --rate 180 --pos 1680x0 --rotate normal \ + --output DP-4 --primary --mode 2560x1440 --rate 144 --pos 1680x0 --rotate normal \ --output DP-5 --off |