]> gitweb.fluxo.info Git - kvmx.git/commitdiff
Provision: desktop-basic: updates custom xsession config
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 28 Nov 2018 15:21:14 +0000 (13:21 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 28 Nov 2018 15:21:14 +0000 (13:21 -0200)
share/provision/files/desktop-basic/home/user/.custom/xsession

index f178b69d15eafd9d0dec381df595179751971bd7..8f5337b102884a8097aaebda581c0bf26a24ab94 100644 (file)
@@ -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