Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- #xrandr's name for the external monitor connection
- MONITOR=DP-5.8
- if (xrandr | grep "DP-5.8 connected"); then
- xrandr --output "$MONITOR" --mode "2560x1600" --primary
- else
- #xrandr --output LVDS-1 "1920x1080" --primary
- xrandr --auto >> log_big_screen
- fi
- sleep 5
- #optional: switch to vt1 and back, to fix with "blank screen" problem
- chvt 1
- sleep 5
- chvt 7
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement