2 个版本
0.0.2 | 2020年2月20日 |
---|---|
0.0.1 | 2020年2月20日 |
#684 在 Unix API
每月 100 次下载
用于 2 crates
46KB
648 代码行
Rust xdotool
用 Rust 编写的 xdotool 命令行工具的包装器
注意
我已经尽力详细地记录了所有内容。如需更多信息,请参阅 xdotool
的手册页。如果某个函数的行为与 xdotool 不一致,请提交问题或更好的是提交拉取请求 :)
由于 xdotool
常常与 wmctrl
结合使用,您可能还想查看我为这个工具写的 rust 包装器!
依赖项
xdotool 需要安装
# Ubuntu
sudo apt-get install xdotool
# Arch Linux
sudo pacman -S xdotool
# Fedora
sudo dnf install xdotool
# You get the idea
用法
将 xdotool
添加到您的 Corgo.toml
依赖项中
[dependencies]
xdotool = "0.0.2"
如果您想使用最新构建,请使用 GitHub 仓库作为您的链接
[dependencies]
xdotool = { git = "https://github.com/Treborium/rust-xdotool" }
示例
有关特定函数的示例,请参阅 文档。