diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2023-11-25 14:36:42 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2023-11-25 14:37:59 +0400 |
| commit | 50649ff78b4352a6204c713cd0c49dd397bd815e (patch) | |
| tree | e761640041b40da36703ad8c8b22d9c16128d2df | |
| parent | 786c98428cb60329f7469e545a67a92faaa40479 (diff) | |
| download | niri-50649ff78b4352a6204c713cd0c49dd397bd815e.tar.gz niri-50649ff78b4352a6204c713cd0c49dd397bd815e.tar.bz2 niri-50649ff78b4352a6204c713cd0c49dd397bd815e.zip | |
Add more default app binds to the default config
| -rw-r--r-- | README.md | 4 | ||||
| -rw-r--r-- | resources/default-config.kdl | 11 |
2 files changed, 10 insertions, 5 deletions
@@ -97,7 +97,9 @@ 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>T</kbd> | Spawn `alacritty` (terminal) | +| <kbd>Mod</kbd><kbd>D</kbd> | Spawn `fuzzel` (application launcher) | +| <kbd>Mod</kbd><kbd>Alt</kbd><kbd>L</kbd> | Spawn `swaylock` (screen locker) | | <kbd>Mod</kbd><kbd>Q</kbd> | Close the focused window | | <kbd>Mod</kbd><kbd>H</kbd> or <kbd>Mod</kbd><kbd>←</kbd> | Focus the column to the left | | <kbd>Mod</kbd><kbd>L</kbd> or <kbd>Mod</kbd><kbd>→</kbd> | Focus the column to the right | diff --git a/resources/default-config.kdl b/resources/default-config.kdl index 002df225..dfa863a3 100644 --- a/resources/default-config.kdl +++ b/resources/default-config.kdl @@ -136,13 +136,16 @@ binds { // "Mod" is a special modifier equal to Super when running on a TTY, and to Alt // when running as a winit window. + // Suggested binds for running programs: terminal, app launcher, screen locker. Mod+T { spawn "alacritty"; } - Mod+Q { close-window; } + Mod+D { spawn "fuzzel"; } + Mod+Alt+L { spawn "swaylock"; } // Example volume keys mappings for PipeWire & WirePlumber. - // Remember to uncomment the nodes by removing "/-"! - /-XF86AudioRaiseVolume { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1+"; } - /-XF86AudioLowerVolume { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1-"; } + XF86AudioRaiseVolume { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1+"; } + XF86AudioLowerVolume { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1-"; } + + Mod+Q { close-window; } Mod+H { focus-column-left; } Mod+J { focus-window-down; } |
