# 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
# 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
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: