diff options
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | src/input.rs | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -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 | diff --git a/src/input.rs b/src/input.rs index 028b7035..f035a4eb 100644 --- a/src/input.rs +++ b/src/input.rs @@ -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, |
