diff --git a/src/main.rs b/src/main.rs index a8fda2b..52667a6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -272,6 +272,7 @@ fn main() -> Result<(), String> { matrix = current_orient.matrix; if new_state != old_state { + let keyboard_state = if new_state == "normal" { "enabled" } else { "disabled" }; match backend { Backend::Sway => { Command::new("swaymsg")