hotkey_overlay: Show the ToggleOverview bind
Browse files at this commit55c14eebf20d1e4d794e3a95b9d7ae65e305e769Parent: 3fe67541 changed file +2 -0
- src/ui/hotkey_overlay.rs +2 -0
src/ui/hotkey_overlay.rsmodified+2 -0
| @@ -247,6 +247,7 @@ fn render( | |||
| 247 | &Action::ConsumeOrExpelWindowRight, | 247 | &Action::ConsumeOrExpelWindowRight, |
| 248 | &Action::ToggleWindowFloating, | 248 | &Action::ToggleWindowFloating, |
| 249 | &Action::SwitchFocusBetweenFloatingAndTiling, | 249 | &Action::SwitchFocusBetweenFloatingAndTiling, |
| 250 | + &Action::ToggleOverview, | ||
| 250 | ]); | 251 | ]); |
| 251 | 252 | ||
| 252 | // Screenshot is not as important, can omit if not bound. | 253 | // Screenshot is not as important, can omit if not bound. |
| @@ -435,6 +436,7 @@ fn action_name(action: &Action) -> String { | |||
| 435 | Action::SwitchFocusBetweenFloatingAndTiling => { | 436 | Action::SwitchFocusBetweenFloatingAndTiling => { |
| 436 | String::from("Switch Focus Between Floating and Tiling") | 437 | String::from("Switch Focus Between Floating and Tiling") |
| 437 | } | 438 | } |
| 439 | + Action::ToggleOverview => String::from("Open the Overview"), | ||
| 438 | Action::Screenshot(_) => String::from("Take a Screenshot"), | 440 | Action::Screenshot(_) => String::from("Take a Screenshot"), |
| 439 | Action::Spawn(args) => format!( | 441 | Action::Spawn(args) => format!( |
| 440 | "Spawn <span face='monospace' bgcolor='#000000'>{}</span>", | 442 | "Spawn <span face='monospace' bgcolor='#000000'>{}</span>", |