[testing] Documentation.

main
Shinyzenith 2 years ago
parent 465c155be5
commit 25987beba6
No known key found for this signature in database
GPG Key ID: A3DFCDC66E9E2950

@ -60,6 +60,7 @@ pub fn main() {
}
match sock_send("notify-send hello world") {
// testing .
Err(e) => {
log::error!("Failed to send command over IPC.");
log::error!("Is swhks running?");
@ -78,6 +79,7 @@ pub fn main() {
for state in &key_states {
for hotkey in &hotkeys {
if state.iter().count() == hotkey.modifiers.len() + 1 {
// +1 Because we handle only 1 keysym.
possible_hotkeys.push(hotkey.clone());
}
}

Loading…
Cancel
Save