From 0b3b48967f15c2266bd23a7233cbdeb21eb5ba94 Mon Sep 17 00:00:00 2001 From: Derrick McKee Date: Tue, 31 Dec 2019 16:39:09 -0500 Subject: [PATCH] incorporating rotation algorithm update --- src/main.rs | 1 + 1 file changed, 1 insertion(+) 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")