Created
December 27, 2013 06:22
-
-
Save jouyouyun/8143319 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"os/exec" | |
) | |
func main() { | |
cmd := exec.Command("dbus-send", "--type=method_call", "--dest=com.deepin.dde.dock", "/com/deepin/dde/dock com.deepin.dde.dock.ToggleShow") | |
_, err := cmd.Output() | |
if err != nil { | |
fmt.Println(err) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment