#!/bin/sh
set -e
# restart dde-shell so the new dock plugin is picked up
if command -v systemctl >/dev/null 2>&1 && systemctl --user is-active dde-shell@DDE.service >/dev/null 2>&1; then
    systemctl --user restart dde-shell@DDE.service >/dev/null 2>&1 || true
fi
exit 0
