diff --git a/src/main.rs b/src/main.rs index 8c1f3bd..047b4da 100644 --- a/src/main.rs +++ b/src/main.rs @@ -430,7 +430,8 @@ fn focus_to_group(stream: &UnixStream, group_index: usize) { .enumerate() .find(|i| i.1.name == other_workspace.output) .unwrap() - .0, + .0 + + 1, ), None => { // Or if the targeted output is currently connected