From: Silvio Rhatto Date: Wed, 28 Nov 2018 15:21:14 +0000 (-0200) Subject: Provision: desktop-basic: updates custom xsession config X-Git-Tag: 0.1.0~149 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=d9d47ff171155a366105c6ec04a21e97f77dd704;p=kvmx.git Provision: desktop-basic: updates custom xsession config --- diff --git a/share/provision/files/desktop-basic/home/user/.custom/xsession b/share/provision/files/desktop-basic/home/user/.custom/xsession index f178b69..8f5337b 100644 --- a/share/provision/files/desktop-basic/home/user/.custom/xsession +++ b/share/provision/files/desktop-basic/home/user/.custom/xsession @@ -8,13 +8,6 @@ HOSTNAME="`cat /etc/hostname | cut -d . -f 1`" # Set window manager WINDOW_MANAGER="ratpoison" -# Startup programs -if [ "$HOSTNAME" == "web" ]; then - PROGRAMS="$PROGRAMS tor-browser" -else - PROGRAMS="$PROGRAMS terminal" -fi - # Display device DISPLAY_DEVICE="Virtual-0" # or maybe qlx-0 @@ -40,3 +33,10 @@ DISPLAY_DEVICE="Virtual-0" # or maybe qlx-0 # you mind find a whitelisting error at the firejail profile in your # ~/.xsession-errors. sleep 8 + +# Startup programs +if [ "$HOSTNAME" == "web" ]; then + PROGRAMS="$PROGRAMS tor-browser" +else + PROGRAMS="$PROGRAMS terminal" +fi