mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-22 02:01:55 +07:00
Add binds to spawn fuzzel and nautilus
This commit is contained in:
@@ -52,6 +52,8 @@ The general system is: if a hotkey switches somewhere, then adding <kbd>Ctrl</kb
|
||||
| Hotkey | Description |
|
||||
| ------ | ----------- |
|
||||
| <kbd>Mod</kbd><kbd>T</kbd> | Spawn `alacritty` |
|
||||
| <kbd>Mod</kbd><kbd>D</kbd> | Spawn `fuzzel` |
|
||||
| <kbd>Mod</kbd><kbd>N</kbd> | Spawn `nautilus` |
|
||||
| <kbd>Mod</kbd><kbd>Q</kbd> | Close the focused window |
|
||||
| <kbd>Mod</kbd><kbd>H</kbd> or <kbd>Mod</kbd><kbd>←</kbd> | Focus the window to the left |
|
||||
| <kbd>Mod</kbd><kbd>L</kbd> or <kbd>Mod</kbd><kbd>→</kbd> | Focus the window to the right |
|
||||
|
||||
@@ -74,6 +74,8 @@ fn action(comp_mod: CompositorMod, keysym: KeysymHandle, mods: ModifiersState) -
|
||||
match modified {
|
||||
KEY_E => Action::Quit,
|
||||
KEY_t => Action::Spawn("alacritty".to_owned()),
|
||||
KEY_d => Action::Spawn("fuzzel".to_owned()),
|
||||
KEY_n => Action::Spawn("nautilus".to_owned()),
|
||||
KEY_q => Action::CloseWindow,
|
||||
KEY_F => Action::ToggleFullscreen,
|
||||
KEY_h | KEY_Left if mods.ctrl => Action::MoveLeft,
|
||||
|
||||
Reference in New Issue
Block a user