X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=X%2F.xinitrc;h=d12fed36880d81edf04301556cc8b2a25d3e4bdc;hb=780545c9f59b56a59aba353193d9e63ac6f85109;hp=857c4b0fc3ac29e47e3826abce6119b3eecdd855;hpb=b716205f36376fd67c257bab081cb6771eea7640;p=max%2Fdotfiles.git diff --git a/X/.xinitrc b/X/.xinitrc index 857c4b0..d12fed3 100644 --- a/X/.xinitrc +++ b/X/.xinitrc @@ -12,23 +12,18 @@ if [ -d /etc/X11/xinit/xinitrc.d ]; then unset f fi +# Source ~/.xprofile +[ -f /etc/xprofile ] && . /etc/xprofile +[ -f ~/.xprofile ] && . ~/.xprofile +case $HOSTNAME in + magnesium|platinum|plutonium) + exec i3 + ;; + *) + exec ratpoison + ;; +esac -# Load .Xresources -xrdb -merge ~/.Xresources &> /dev/null -setxkbmap -variant colemak gb -# Set screen layout -xrandr --output VGA1 --right-of HDMI1 - - -# Set java font option -export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on" - -feh --bg-scale ~/Pictures/background.jpg& - -xset -b - -setxkbmap -option 'ctrl:nocaps' - -exec /usr/bin/ratpoison +# vim: set expandtab tabstop=2 smarttab: