dock-daemon:: move some features to here from dde/dock