aboutsummaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2025-04-25 10:36:59 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2025-04-25 02:00:18 -0700
commit55c14eebf20d1e4d794e3a95b9d7ae65e305e769 (patch)
tree9351e51a2223ac91f614427f2f52523f227d7402 /src/ui
parent3fe67549b4d32e40a9eb0a9e77d395c8d5e88aef (diff)
downloadniri-55c14eebf20d1e4d794e3a95b9d7ae65e305e769.tar.gz
niri-55c14eebf20d1e4d794e3a95b9d7ae65e305e769.tar.bz2
niri-55c14eebf20d1e4d794e3a95b9d7ae65e305e769.zip
hotkey_overlay: Show the ToggleOverview bind
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/hotkey_overlay.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/hotkey_overlay.rs b/src/ui/hotkey_overlay.rs
index 9970d2f7..660d569b 100644
--- a/src/ui/hotkey_overlay.rs
+++ b/src/ui/hotkey_overlay.rs
@@ -247,6 +247,7 @@ fn render(
&Action::ConsumeOrExpelWindowRight,
&Action::ToggleWindowFloating,
&Action::SwitchFocusBetweenFloatingAndTiling,
+ &Action::ToggleOverview,
]);
// Screenshot is not as important, can omit if not bound.
@@ -435,6 +436,7 @@ fn action_name(action: &Action) -> String {
Action::SwitchFocusBetweenFloatingAndTiling => {
String::from("Switch Focus Between Floating and Tiling")
}
+ Action::ToggleOverview => String::from("Open the Overview"),
Action::Screenshot(_) => String::from("Take a Screenshot"),
Action::Spawn(args) => format!(
"Spawn <span face='monospace' bgcolor='#000000'>{}</span>",