]> git.friedersdorff.com Git - max/dotfiles.git/blobdiff - X/.xinitrc
Laptop config
[max/dotfiles.git] / X / .xinitrc
index 60e56eb6bde8dd6e088ca61bb9e08f0f9281728a..ad4afd12629ed744abc0842259445003eb430eb3 100644 (file)
@@ -27,6 +27,12 @@ case $HOSTNAME in
        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"
@@ -62,4 +68,16 @@ xset -b
 #
 #gpg-connect-agent updatestartuptty /bye >/dev/null
 
+# Battery monitoring
+case $HOSTNAME in
+       palladium)
+               xbattmon&
+               ;;
+       iridium)
+               ~/.local/bin/bat_mgt.sh&
+       *)
+esac
+
+cat ~/.ratpoisonrc.base ~/.ratpoisonrc.$HOSTNAME > ~/.ratpoisonrc
+
 exec /usr/bin/ratpoison