diff --git a/README.md b/README.md index 0cc864e7..2ddca347 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,8 @@ The general system is: if a hotkey switches somewhere, then adding CtrlModT | Spawn `alacritty` | +| ModD | Spawn `fuzzel` | +| ModN | Spawn `nautilus` | | ModQ | Close the focused window | | ModH or Mod← | Focus the window to the left | | ModL or Mod→ | 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,