summaryrefslogtreecommitdiffstats
path: root/.xinitrc
diff options
context:
space:
mode:
Diffstat (limited to '.xinitrc')
-rw-r--r--.xinitrc12
1 files changed, 10 insertions, 2 deletions
diff --git a/.xinitrc b/.xinitrc
index 7dbe5da..e616e8e 100644
--- a/.xinitrc
+++ b/.xinitrc
@@ -2,5 +2,13 @@
startfluxbox
-# Keep the X server running forever
-exec tail -f /dev/null
+rm -f ~/.xsessionmanage
+mkfifo -m 0600 ~/.xsessionmanage
+while read action; do
+ case "${action}" in
+ 'quit')
+ break
+ ;;
+ esac
+done <~/.xsessionmanage
+rm -f ~/.xsessionmanage