From: Maximilian Friedersdorff Date: Tue, 26 Sep 2017 09:22:44 +0000 (+0100) Subject: Use vim automatic indenting to fix whitespace X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=e1e1cbc8d10791ea427f5dc1f14b04ca47638c5a;p=max%2Fdotfiles.git Use vim automatic indenting to fix whitespace --- diff --git a/X/.xinitrc b/X/.xinitrc index 3c02be3..1b907ff 100644 --- a/X/.xinitrc +++ b/X/.xinitrc @@ -16,39 +16,39 @@ fi # Load .Xresources xrdb -merge ~/.Xresources &> /dev/null if [ -f ~/.Xresources.$HOSTNAME ]; then - xrdb -merge ~/.Xresources.$HOSTNAME &> /dev/null + xrdb -merge ~/.Xresources.$HOSTNAME &> /dev/null fi # Set keyboard layout case $HOSTNAME in - palladium) - setxkbmap -variant colemak gb - xmodmap -e "keycode 66 = Control_L Control_L Control_L Control_L" - xmodmap -e "keycode 135 = Control_R Control_R Control_R Control_R" - xmodmap -e "add Control = Control_L Control_R" - ;; - iridium) - setxkbmap -variant colemak gb - xmodmap -e "keycode 66 = Control_L Control_L Control_L Control_L" - xmodmap -e "keycode 135 = Control_R Control_R Control_R Control_R" - xmodmap -e "add Control = Control_L Control_R" - ;; - beryllium) - setxkbmap -variant colemak us - xmodmap -e "keycode 66 = Control_L Control_L Control_L Control_L" - xmodmap -e "keycode 135 = Control_R Control_R Control_R Control_R" - xmodmap -e "add Control = Control_L Control_R" - ;; - *) + palladium) + setxkbmap -variant colemak gb + xmodmap -e "keycode 66 = Control_L Control_L Control_L Control_L" + xmodmap -e "keycode 135 = Control_R Control_R Control_R Control_R" + xmodmap -e "add Control = Control_L Control_R" + ;; + iridium) + setxkbmap -variant colemak gb + xmodmap -e "keycode 66 = Control_L Control_L Control_L Control_L" + xmodmap -e "keycode 135 = Control_R Control_R Control_R Control_R" + xmodmap -e "add Control = Control_L Control_R" + ;; + beryllium) + setxkbmap -variant colemak us + xmodmap -e "keycode 66 = Control_L Control_L Control_L Control_L" + xmodmap -e "keycode 135 = Control_R Control_R Control_R Control_R" + xmodmap -e "add Control = Control_L Control_R" + ;; + *) esac # Set screen layout case $HOSTNAME in - beryllium) - xrandr --output HDMI-1 --left-of DVI-I-1 - ;; - *) - ;; + beryllium) + xrandr --output HDMI-1 --left-of DVI-I-1 + ;; + *) + ;; esac # Set java font option @@ -62,21 +62,21 @@ xset -b #if ! pgrep -x -u "${USER}" gpg-agent>/dev/null 2>&1; then # eval $(gpg-agent --daemon \ -# --use-standard-socket \ -# --write-env-file "${HOME}/.gpg-agent-info") + # --use-standard-socket \ + # --write-env-file "${HOME}/.gpg-agent-info") #fi # #gpg-connect-agent updatestartuptty /bye >/dev/null # Battery monitoring case $HOSTNAME in - palladium) - xbattmon& - ;; - iridium) - ~/.local/bin/bat_mgt.sh& - ;; - *) + palladium) + xbattmon& + ;; + iridium) + ~/.local/bin/bat_mgt.sh& + ;; + *) esac cat ~/.ratpoisonrc.base ~/.ratpoisonrc.$HOSTNAME > ~/.ratpoisonrc