Added 1080p resolution force xrandr script

This commit is contained in:
Wryn Wagner 2020-06-22 12:07:56 -06:00
parent d87f711a61
commit 6487af61fa

View File

@ -0,0 +1,18 @@
#!/bin/sh
xrandr --output DP-0 --off\
--output DP-1 --off\
--output DP-2 --off\
--output DP-3 --off\
--output DP-4 --off\
--output HDMI-0 --primary --mode 1920x1080 --pos 2880x0 --rotate normal
ROLL=$(($RANDOM%3));
if [ $ROLL -eq 0 ]; then
feh --bg-fill $HOME/Pictures/bg/detective.jpg >/dev/null 2>&1
elif [ $ROLL -eq 1 ]; then
feh --bg-fill $HOME/Pictures/bg/link.png >/dev/null 2>&1
elif [ $ROLL -eq 2 ]; then
feh --bg-fill $HOME/Pictures/bg/snow2.jpg >/dev/null 2>&1
fi