summaryrefslogtreecommitdiff
path: root/.config/wmii-hg/quit
diff options
context:
space:
mode:
Diffstat (limited to '.config/wmii-hg/quit')
-rwxr-xr-x.config/wmii-hg/quit2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/wmii-hg/quit b/.config/wmii-hg/quit
index b34a913..58d4db0 100755
--- a/.config/wmii-hg/quit
+++ b/.config/wmii-hg/quit
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
if type systemctl &>/dev/null; then
- systemctl --user stop "wmii@$DISPLAY.service"
+ systemctl --user stop "wmii@$(systemd-escape -- "$DISPLAY").service"
else
. include.sh
echo quit >> $WMII_DIR/ctl