]> git.friedersdorff.com Git - max/dotfiles.git/blobdiff - X/.xinitrc
Use vim not gvim for mutt
[max/dotfiles.git] / X / .xinitrc
index d04b5df0186b17ef58b22fe2855109c5f9118f0e..d02fb1cbed639af1fa3dc80b60806988b2fb82eb 100644 (file)
@@ -16,7 +16,7 @@ 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
@@ -34,15 +34,16 @@ case $HOSTNAME in
        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
@@ -56,8 +57,8 @@ 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
@@ -71,8 +72,16 @@ case $HOSTNAME in
                ~/.local/bin/bat_mgt.sh&
                ;;
        *)
+                ;;
 esac
 
 cat ~/.ratpoisonrc.base ~/.ratpoisonrc.$HOSTNAME > ~/.ratpoisonrc
 
-exec /usr/bin/ratpoison
+case $HOSTNAME in
+  platinum)
+    exec ck-launch-session dbus-launch --sh-syntax --exit-with-session startkde
+    ;;
+  *)
+    exec /usr/bin/ratpoison
+esac
+