dotfiles

Obligatory dotfiles repo
git clone git://git.danielmoch.com/dotfiles.git
Log | Files | Refs

commit cc31f50971eb5ff5eeba56eb728d2934942444f5
parent 31c1ff2f4e23f025ab8d1a501769d765ff27dccd
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Fri, 19 Jan 2018 19:33:28 -0500

xsession: Add XFCE and Cinnamon

Diffstat:
M.xsession | 8+++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/.xsession b/.xsession @@ -22,7 +22,7 @@ fi if [ $# -eq 0 ] then - for wm in awesome i3 twm + for wm in awesome i3 startxfce4 cinnamon-session twm do if type $wm > /dev/null 2>&1 then @@ -49,6 +49,12 @@ then $AUTOSTART_CMD ;; esac + + if [ "$XDG_CURRENT_DESKTOP" = "twm" ] + then + set -- xterm + twm & + fi fi [ -n $EXEC ] && exec $@