summaryrefslogtreecommitdiff
path: root/.config/wmii-hg/quit
blob: b34a913b45bf58afb0ae047ce3e53c774504d85e (plain)
1
2
3
4
5
6
7
#!/usr/bin/env bash
if type systemctl &>/dev/null; then
	systemctl --user stop "wmii@$DISPLAY.service"
else
	. include.sh
	echo quit >> $WMII_DIR/ctl
fi