Add floating binds to the hotkey overlay

This commit is contained in:
Ivan Molodetskikh
2025-01-03 17:26:25 +03:00
parent 6998b17f9e
commit b3c6f0e661
+6
View File
@@ -203,6 +203,8 @@ fn render(
&Action::MaximizeColumn,
&Action::ConsumeOrExpelWindowLeft,
&Action::ConsumeOrExpelWindowRight,
&Action::ToggleWindowFloating,
&Action::SwitchFocusBetweenFloatingAndTiling,
]);
// Screenshot is not as important, can omit if not bound.
@@ -378,6 +380,10 @@ fn action_name(action: &Action) -> String {
Action::MaximizeColumn => String::from("Maximize Column"),
Action::ConsumeOrExpelWindowLeft => String::from("Consume or Expel Window Left"),
Action::ConsumeOrExpelWindowRight => String::from("Consume or Expel Window Right"),
Action::ToggleWindowFloating => String::from("Move Window Between Floating and Tiling"),
Action::SwitchFocusBetweenFloatingAndTiling => {
String::from("Switch Focus Between Floating and Tiling")
}
Action::Screenshot => String::from("Take a Screenshot"),
Action::Spawn(args) => format!(
"Spawn <span face='monospace' bgcolor='#000000'>{}</span>",