Added mobile monitor setup scripts
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
xrandr --output DP-0 --off\
|
||||
--output DP-1 --off\
|
||||
--output DP-3 --off\
|
||||
@ -6,6 +7,14 @@ xrandr --output DP-0 --off\
|
||||
--output DP-2 --primary --mode 2880x1800 --scale 0.8x0.8 --pos 0x0 --rotate normal\
|
||||
--output HDMI-0 --pos 2880x0 --rotate normal
|
||||
|
||||
|
||||
#xrandr | grep -q "3840" >/dev/null 2>&1;
|
||||
#if [[ $? -ne 0 ]]; then
|
||||
# if xrandr | grep -q "1920"; then
|
||||
# xrandr --output HDMI-0 --mode 1920x1080 --pos 2880x0 --rotate normal --scale 1.5x1.5;
|
||||
# fi
|
||||
#fi
|
||||
|
||||
ROLL=$(($RANDOM%4));
|
||||
|
||||
if [ $ROLL -eq 0 ]; then
|
||||
|
Reference in New Issue
Block a user