new scripts
[dotfiles.git] / Scripts / monitor-attach
1 #!/bin/sh
2
3 xrandr --newmode "1920x1080_60.00" 172.80  1920 2040 2248 2576  1080 1081 1084 1118  -HSync +Vsync
4 xrandr --addmode VGA1 "1920x1080_60.00"
5 xrandr --auto --output VGA1 --mode 1920x1080_60.00 --right-of LVDS1
6
7 # redshift
8 redshift -x
9 redshift -m randr:crtc=0 -O 3000
10 redshift -m randr:crtc=1 -O 5000
11
12 # need to reset wallpaper too
13 setwallpaper