Created
November 5, 2017 02:50
-
-
Save 0rbadvent/3618c0cd826dbd99d7ba828306a047b6 to your computer and use it in GitHub Desktop.
xrandr-ckv2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/sh | |
#if [ $# -eq 12 ] | |
# # then | |
b1=1 | |
b2=1 | |
b3=1 | |
g1=1 | |
g2=1 | |
g3=1 | |
g4=1 | |
g5=1 | |
g6=1 | |
g7=1 | |
g8=1 | |
g9=1 | |
# else | |
# b1=$1 b2=$5 b3=$9 g1=$2 g2=$3 | |
# g3=$4 g4=$6 g5=$7 g6=$8 g7=$10 g8=$11 g9=$12 | |
#fi | |
xrandr --fb 4400x1500 --output 0x58 --mode 0x75 --pos 0x92 --scale 1x0.82 --rotate right --dpi 110 --gamma ${g1}:${g2}:${g3} --brightness ${b1} --output 0x56 --mode 0x5a --primary --brightness ${b2} --dpi 166 --gamma ${g4}:${g5}:${g6} --pos 1024x40 --output 0x57 --mode 0x73 --dpi 110 --gamma ${g7}:${g8}:${g9} --brightness ${b3} --pos 2950x8 --scale 1x0.799 --rotate right |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment