Added 1080p resolution force xrandr script
This commit is contained in:
parent
d87f711a61
commit
6487af61fa
18
config/xserver/screenlayout/hdmidock_game_resolution.sh
Executable file
18
config/xserver/screenlayout/hdmidock_game_resolution.sh
Executable 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
|
Loading…
Reference in New Issue
Block a user