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