diff options
Diffstat (limited to '')
| -rwxr-xr-x | .local/bin/scr2 | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.local/bin/scr2 b/.local/bin/scr2 new file mode 100755 index 0000000..e8a38c4 --- /dev/null +++ b/.local/bin/scr2 @@ -0,0 +1,22 @@ +#!/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 + +# feh --no-fehbg --image-bg '#1d2021' --no-xinerama --bg-fill "$HOME"/pics/wp.jpg +setwp "$HOME"/pics/platform.jpg |
