diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-11-12 16:54:05 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-11-12 16:54:05 -0200 |
commit | d93e90673947a086432e0d1538c1cebc26bff992 (patch) | |
tree | c486ec89f4cac48950d48d542c23d09cec1d53b5 /share/provision/files/desktop-basic/home/user/.custom | |
parent | ff3e09ca5e3d37406757013dad2fcbdebc80eca7 (diff) | |
download | kvmx-d93e90673947a086432e0d1538c1cebc26bff992.tar.gz kvmx-d93e90673947a086432e0d1538c1cebc26bff992.tar.bz2 |
Updates custom/xsession
Diffstat (limited to 'share/provision/files/desktop-basic/home/user/.custom')
-rw-r--r-- | share/provision/files/desktop-basic/home/user/.custom/xsession | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/share/provision/files/desktop-basic/home/user/.custom/xsession b/share/provision/files/desktop-basic/home/user/.custom/xsession index d223263..f178b69 100644 --- a/share/provision/files/desktop-basic/home/user/.custom/xsession +++ b/share/provision/files/desktop-basic/home/user/.custom/xsession @@ -1,8 +1,21 @@ # # Custom X11 session config # + +# Parameters +HOSTNAME="`cat /etc/hostname | cut -d . -f 1`" + +# Set window manager WINDOW_MANAGER="ratpoison" -PROGRAMS="$PROGRAMS terminal" + +# 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 # |