aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2023-11-25 14:36:42 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2023-11-25 14:37:59 +0400
commit50649ff78b4352a6204c713cd0c49dd397bd815e (patch)
treee761640041b40da36703ad8c8b22d9c16128d2df
parent786c98428cb60329f7469e545a67a92faaa40479 (diff)
downloadniri-50649ff78b4352a6204c713cd0c49dd397bd815e.tar.gz
niri-50649ff78b4352a6204c713cd0c49dd397bd815e.tar.bz2
niri-50649ff78b4352a6204c713cd0c49dd397bd815e.zip
Add more default app binds to the default config
-rw-r--r--README.md4
-rw-r--r--resources/default-config.kdl11
2 files changed, 10 insertions, 5 deletions
diff --git a/README.md b/README.md
index f8b9738d..f29a3612 100644
--- a/README.md
+++ b/README.md
@@ -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; }