diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-02-07 00:09:33 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-02-07 00:09:33 -0500 |
commit | 34bb88f2d5231922015ea24abb2f43223792c1c9 (patch) | |
tree | c8d89228e88330a6694aed13c54be8758272d154 /.config/wmii-hg/quit | |
parent | cb170078f7fe918b880da0dbcccc622a8b480451 (diff) | |
parent | f5c41d73b4c085691f2c01dd80366d08cb352a01 (diff) |
Merge remote-tracking branch 'origin/master' into build64-par/master
Diffstat (limited to '.config/wmii-hg/quit')
-rwxr-xr-x | .config/wmii-hg/quit | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/.config/wmii-hg/quit b/.config/wmii-hg/quit index 27d9052..341468e 100755 --- a/.config/wmii-hg/quit +++ b/.config/wmii-hg/quit @@ -1,3 +1,7 @@ #!/bin/bash -. include.sh -echo quit >> $WMII_DIR/ctl +if type systemctl &>/dev/null; then + systemctl --user stop "wmii@$DISPLAY.service" +else + . include.sh + echo quit >> $WMII_DIR/ctl +fi |