res/dock:: clean code, move to dde-daemon