diff options
author | P. J. McDermott <pj@pehjota.net> | 2016-03-06 23:26:26 (EST) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2016-03-06 23:26:26 (EST) |
commit | b993c98519acae4bdf3467039f8d9bb3f9d4518b (patch) | |
tree | 716d92b007288979eaa52552daf4a4e2fdc7a67b /.xinitrc | |
parent | 71c8446a8e1c5c82cd9f2776f9092a2a30edae85 (diff) | |
download | fluxbox-b993c98519acae4bdf3467039f8d9bb3f9d4518b.zip fluxbox-b993c98519acae4bdf3467039f8d9bb3f9d4518b.tar.gz fluxbox-b993c98519acae4bdf3467039f8d9bb3f9d4518b.tar.bz2 |
Implement session management (log out)
Diffstat (limited to '.xinitrc')
-rw-r--r-- | .xinitrc | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -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 |