X-Git-Url: https://git.donarmstrong.com/?p=x_base.git;a=blobdiff_plain;f=.xsession_archimedes;h=f4c2fce4e3843a8b110d824c235a289a9b7ac884;hp=7ba5103440e771e6733ebdd55d25e009866c6fce;hb=31812c2bdf37aed04ec6bf47fa7e197c15e7cd42;hpb=15be4bb0a5f0047bd2f1fac454363683b1f4d501 diff --git a/.xsession_archimedes b/.xsession_archimedes index 7ba5103..f4c2fce 100644 --- a/.xsession_archimedes +++ b/.xsession_archimedes @@ -1,15 +1,16 @@ #-*- mode: sh; -*- -xrandr --output DVI0 --right-of VGA2 +xrandr --output DVI-I-1 --rotate left +xrandr --output DVI-D-1 --rotate left +xrandr --output HDMI-1 --rotate left + +xrandr --output DVI-D-1 --left-of DVI-I-1 +xrandr --output HDMI-1 --right-of DVI-I-1 xmodmap -e 'keycode 158 = XF86AudioRaiseVolume' xmodmap -e 'keycode 146 = XF86AudioLowerVolume' xset r rate 170 40 -xmodmap -e 'keycode 115 = Multi_key' -# No clue why this has changed from Alt_R to Down, but we really want Down. -if ! xmodmap -pk|grep -qe '116.*Down'; then - xmodmap -e 'keycode 116 = Super_L' -fi; +xmodmap -e 'keycode 133 = Multi_key' xmodmap -e 'clear mod4' xmodmap -e 'add mod4 = Super_L Super_R' @@ -19,3 +20,7 @@ xgamma -rgamma 1.3 -ggamma 1.3 -bgamma 1.15 if [ -x /usr/bin/xsetbg ] && [ -r /home/don/pictures/dh-demon_tag.jpg ]; then /usr/bin/xsetbg -zoom 125 -fit -center -border gray17 /home/don/pictures/dh-demon_tag.jpg fi; + +if which redshift >/dev/null 2>&1; then + (DISPLAY=:0.1 redshift -l 33.9533:-117.3953 >/dev/null 2>&1 &) +fi;