forge
Explore
Log in

Don't you dare go Hollow

Add binds to spawn fuzzel and nautilus

Browse files at this commit

ac73688a2baca9bc5f3c8340b97bf535f682ae41Ivan MolodetskikhParent: 7ad1fd3
README.mdmodified+2 -0
@@ -52,6 +52,8 @@ The general system is: if a hotkey switches somewhere, then adding <kbd>Ctrl</kb
52 | Hotkey | Description |52 | Hotkey | Description |
53 | ------ | ----------- |53 | ------ | ----------- |
54 | <kbd>Mod</kbd><kbd>T</kbd> | Spawn `alacritty` |54 | <kbd>Mod</kbd><kbd>T</kbd> | Spawn `alacritty` |
55+| <kbd>Mod</kbd><kbd>D</kbd> | Spawn `fuzzel` |
56+| <kbd>Mod</kbd><kbd>N</kbd> | Spawn `nautilus` |
55 | <kbd>Mod</kbd><kbd>Q</kbd> | Close the focused window |57 | <kbd>Mod</kbd><kbd>Q</kbd> | Close the focused window |
56 | <kbd>Mod</kbd><kbd>H</kbd> or <kbd>Mod</kbd><kbd>←</kbd> | Focus the window to the left |58 | <kbd>Mod</kbd><kbd>H</kbd> or <kbd>Mod</kbd><kbd>←</kbd> | Focus the window to the left |
57 | <kbd>Mod</kbd><kbd>L</kbd> or <kbd>Mod</kbd><kbd>→</kbd> | Focus the window to the right |59 | <kbd>Mod</kbd><kbd>L</kbd> or <kbd>Mod</kbd><kbd>→</kbd> | Focus the window to the right |
src/input.rsmodified+2 -0
@@ -74,6 +74,8 @@ fn action(comp_mod: CompositorMod, keysym: KeysymHandle, mods: ModifiersState) -
74 match modified {74 match modified {
75 KEY_E => Action::Quit,75 KEY_E => Action::Quit,
76 KEY_t => Action::Spawn("alacritty".to_owned()),76 KEY_t => Action::Spawn("alacritty".to_owned()),
77+ KEY_d => Action::Spawn("fuzzel".to_owned()),
78+ KEY_n => Action::Spawn("nautilus".to_owned()),
77 KEY_q => Action::CloseWindow,79 KEY_q => Action::CloseWindow,
78 KEY_F => Action::ToggleFullscreen,80 KEY_F => Action::ToggleFullscreen,
79 KEY_h | KEY_Left if mods.ctrl => Action::MoveLeft,81 KEY_h | KEY_Left if mods.ctrl => Action::MoveLeft,