mirror of
https://codeberg.org/icewind/shortcutd.git
synced 2026-06-03 17:24:08 +02:00
don't expose dbus internals, docs
This commit is contained in:
parent
e65d8fbf57
commit
22cd9700bb
8 changed files with 72 additions and 29 deletions
|
|
@ -24,7 +24,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
|
|||
pin_mut!(stream);
|
||||
|
||||
while let Some(event) = stream.next().await {
|
||||
println!("{} {}", event.shortcut, event.state.as_str());
|
||||
println!("{} {}", event.shortcut, event.state);
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
|
|||
pin_mut!(stream);
|
||||
|
||||
while let Some(event) = stream.next().await {
|
||||
println!("{} {}", event.shortcut, event.state.as_str());
|
||||
println!("{} {}", event.shortcut, event.state);
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue