2 个版本

0.0.2 2020年2月20日
0.0.1 2020年2月20日

#684Unix API

Download history 35/week @ 2024-03-11 33/week @ 2024-03-18 54/week @ 2024-03-25 99/week @ 2024-04-01 23/week @ 2024-04-08 29/week @ 2024-04-15 32/week @ 2024-04-22 29/week @ 2024-04-29 30/week @ 2024-05-06 24/week @ 2024-05-13 25/week @ 2024-05-20 35/week @ 2024-05-27 22/week @ 2024-06-03 19/week @ 2024-06-10 22/week @ 2024-06-17 34/week @ 2024-06-24

每月 100 次下载
用于 2 crates

GPL-3.0 或更高版本

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" }

示例

有关特定函数的示例,请参阅 文档

无运行时依赖项