dotfiles

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

commit 3c6dcf0d2f58da3aecc8689a0c3c1256f86bf9ac
parent 8d87cdc9c5455e749d211a7659c862f730575384
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Mon, 22 Jan 2018 22:37:12 -0500

xsession: Tweak twm launching. Remove i3.

Diffstat:
M.xsession | 12+++---------
1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/.xsession b/.xsession @@ -22,7 +22,7 @@ __autostart() done case $XDG_CURRENT_DESKTOP in - awesome|i3|twm) + awesome|twm) if [ -n "$AUTOSTART_CMD" ] then $AUTOSTART_CMD @@ -49,7 +49,7 @@ fi if [ $# -eq 0 ] then - for wm in awesome startxfce4 i3 twm cinnamon-session + for wm in awesome startxfce4 cinnamon-session twm do >&2 echo "No params provided. Setting window manager." if type $wm > /dev/null 2>&1 @@ -61,13 +61,7 @@ then done fi -if [ "$1" = "twm" ] -then - set -- xterm - twm & -fi - __autostart "$@" & unset __autostart -[ -n $EXEC ] && exec "$@" +[ -n "$EXEC" ] && exec "$@"