dotties

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

if_monitor_setup_do_xrandr_stuff.sh (523B)


      1 #!/bin/sh
      2 
      3 # Jeg tror det skriptet som funker ligger i ~/.config/X11/xinitrc
      4 
      5 [ "$(xrandr | grep "VGA-0 connected" | wc -l)" = "1" ] && \
      6 [ "$(xrandr | grep "DVI-0 connected" | wc -l)" = "1" ] && \
      7     xrandr --output VGA-0 --off --output LVDS --mode 1400x1050 --pos 0x0 --rotate normal --output DVI-0 --primary --mode 1920x1080 --pos 1400x0 --rotate normal && \
      8     xrandr --output VGA-0 --mode 1280x1024 --pos 1920x0 --rotate normal --output LVDS --off --output DVI-0 --primary --mode 1920x1080 --pos 0x0 --rotate normal