incorporating rotation algorithm update
This commit is contained in:
parent
a2ff5f6895
commit
0b3b48967f
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue