From d9d47ff171155a366105c6ec04a21e97f77dd704 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 28 Nov 2018 13:21:14 -0200 Subject: Provision: desktop-basic: updates custom xsession config --- .../files/desktop-basic/home/user/.custom/xsession | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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 -- cgit v1.2.3