From f4c8e604fe8b8077bb806f2426f292ba55c8daa4 Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Tue, 8 May 2018 22:34:00 +0100 Subject: [PATCH] standardize whitespace on xinitrc --- X/.xinitrc | 56 +++++++++++++++++++++++++++++------------------------- 1 file changed, 30 insertions(+), 26 deletions(-) diff --git a/X/.xinitrc b/X/.xinitrc index 6a90d37..0546ebf 100644 --- a/X/.xinitrc +++ b/X/.xinitrc @@ -21,20 +21,20 @@ fi # Set keyboard layout case $HOSTNAME in - platinum) - 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" - ;; - magnesium) - 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" - ;; - *) - ;; + platinum) + 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" + ;; + magnesium) + 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 @@ -57,18 +57,18 @@ xset -b # Battery monitoring case $HOSTNAME in - platinum) - ~/.local/bin/bat_mgt.sh& - ;; - *) - ;; + platinum) + ~/.local/bin/bat_mgt.sh& + ;; + *) + ;; esac cat ~/.ratpoisonrc.base ~/.ratpoisonrc.$HOSTNAME > ~/.ratpoisonrc # run xcreensaver if [ -x $(which xscreensaver) ]; then - xscreensaver& + xscreensaver& fi # configure i3 @@ -78,10 +78,14 @@ if [ -f ~/.config/i3/config.base ]; then fi case $HOSTNAME in - magnesium|platinum|plutonium) - exec i3 - ;; - *) - exec ratpoison - ;; + magnesium|platinum|plutonium) + exec i3 + ;; + *) + exec ratpoison + ;; esac + + + +# vim: set expandtab tabstop=2 smarttab: -- 2.46.2