summaryrefslogtreecommitdiff
path: root/.config/wmii-hg/config.sh
diff options
context:
space:
mode:
Diffstat (limited to '.config/wmii-hg/config.sh')
-rw-r--r--.config/wmii-hg/config.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/.config/wmii-hg/config.sh b/.config/wmii-hg/config.sh
index 6846920..4b968b0 100644
--- a/.config/wmii-hg/config.sh
+++ b/.config/wmii-hg/config.sh
@@ -68,9 +68,7 @@ Event() {
## WMII-meta events
Quit) ## No args
trap - EXIT
- if [ -S "$NOTIFY_SOCKET" ]; then
- echo STOPPING=1 | socat STDIO UNIX-SENDTO:"$NOTIFY_SOCKET"
- fi
+ systemd-notify STOPPING=1 || true
Event WmiircUnmount
Event WmiircQuit;;
Warning) ## $@=string