diff --git a/.xinitrc b/.xinitrc index 5e323a89..9946d766 100644 --- a/.xinitrc +++ b/.xinitrc @@ -1,8 +1,4 @@ #!/bin/sh -# -# ~/.xinitrc -# -# Executed by startx (run your window manager from here) if [ -d /etc/X11/xinit/xinitrc.d ]; then for f in /etc/X11/xinit/xinitrc.d/*; do @@ -11,43 +7,5 @@ if [ -d /etc/X11/xinit/xinitrc.d ]; then unset f fi -loadkeys de -setxkbmap de - -# Here Xfce is kept as default -session=${1:-xfce} - -case $session in - awesome ) exec awesome;; - bspwm ) exec bspwm;; - catwm ) exec catwm;; - cinnamon ) exec cinnamon-session;; - dwm ) exec dwm;; - enlightenment ) exec enlightenment_start;; - ede ) exec startede;; - fluxbox ) exec startfluxbox;; - gnome ) exec gnome-session;; - gnome-classic ) exec gnome-session --session=gnome-classic;; - i3|i3wm ) exec i3;; - icewm ) exec icewm-session;; - jwm ) exec jwm;; - kde ) exec startkde;; - mate ) exec mate-session;; - monster|monsterwm ) exec monsterwm;; - notion ) exec notion;; - openbox ) exec openbox-session;; - unity ) exec unity;; - xfce|xfce4 ) exec startxfce4;; - xmonad ) exec xmonad;; - # No known session, try to run it as command - *) exec $1;; -esac - -#exec $1 - -# exec gnome-session -# exec startkde -# exec startxfce4 -# exec qtile -# exec awesome -# ...or the Window Manager of your choice +exec $1 +# or just "exec awesome" or "xfce4-session"