aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xxsession.dot.link7
1 files changed, 6 insertions, 1 deletions
diff --git a/xsession.dot.link b/xsession.dot.link
index 6af48b3..7079270 100755
--- a/xsession.dot.link
+++ b/xsession.dot.link
@@ -33,6 +33,11 @@ else
xsetroot -solid black
fi
+# Set window manager
+if [ -z "$WINDOW_MANAGER" ]; then
+ WINDOW_MANAGER='awesome'
+fi
+
# Additional applications depending on the machine type
if laptop-detect; then
PROGRAMS="$PROGRAMS xwicd"
@@ -75,5 +80,5 @@ if [ "$OSVERSION" = "7" ]; then
eval $(gnome-keyring-daemon --start --components=pkcs11,gpg,secrets)
# Start window manager
- awesome
+ $WINDOW_MANAGER
fi