From 65cb251ba9d9203056c3c71e49576d7bd7e36069 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 27 Feb 2016 20:02:10 -0500 Subject: more systemd/x11 stuff --- .config/wmii-hg/quit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.config/wmii-hg/quit') 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 -- cgit v1.2.3