mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-21 02:01:55 +07:00
Add floating binds to the hotkey overlay
This commit is contained in:
@@ -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>",
|
||||
|
||||
Reference in New Issue
Block a user