incorporating rotation algorithm update

This commit is contained in:
Derrick McKee 2019-12-31 16:39:09 -05:00
parent a2ff5f6895
commit 0b3b48967f
1 changed files with 1 additions and 0 deletions

View File

@ -272,6 +272,7 @@ fn main() -> Result<(), String> {
matrix = current_orient.matrix; matrix = current_orient.matrix;
if new_state != old_state { if new_state != old_state {
let keyboard_state = if new_state == "normal" { "enabled" } else { "disabled" };
match backend { match backend {
Backend::Sway => { Backend::Sway => {
Command::new("swaymsg") Command::new("swaymsg")