aboutsummaryrefslogtreecommitdiff
path: root/bash/99-wm.profile
diff options
context:
space:
mode:
Diffstat (limited to 'bash/99-wm.profile')
-rw-r--r--bash/99-wm.profile5
1 files changed, 5 insertions, 0 deletions
diff --git a/bash/99-wm.profile b/bash/99-wm.profile
new file mode 100644
index 0000000..72ecc02
--- /dev/null
+++ b/bash/99-wm.profile
@@ -0,0 +1,5 @@
+# vi: ft=sh
+
+if [ "$WM_AUTO_START" = "yes" ] && [ -z $DISPLAY ] && [ "$(tty)" = "$WM_TTY" ]; then
+ exec "$WM_WM"
+fi