summaryrefslogtreecommitdiffstats
path: root/.local/bin/scr2
blob: 7ebde1f2c54b31454ae08dc325840d33e60c3ec7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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

feh --no-fehbg --image-bg '#1d2021' --no-xinerama --bg-fill "$HOME"/pics/wp.jpg