+#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")
+#fi
+#
+#gpg-connect-agent updatestartuptty /bye >/dev/null
+
+# Battery monitoring
+case $HOSTNAME in
+ palladium)
+ xbattmon&
+ ;;
+ iridium|platinum)
+ ~/.local/bin/bat_mgt.sh&
+ ;;
+ *)
+ ;;
+esac
+
+cat ~/.ratpoisonrc.base ~/.ratpoisonrc.$HOSTNAME > ~/.ratpoisonrc
+
+# run xcreensaver
+if [ -x $(which xscreensaver) ]; then
+ xscreensaver&
+fi
+
+case $HOSTNAME in
+ magnesium)
+ exec i3
+ ;;
+ *)
+ exec ratpoison
+ ;;
+esac