diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-01-16 20:08:31 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-01-16 20:08:31 +0400 |
| commit | c09c96442024cfacd7aa8abed6db1dc4a208bbb8 (patch) | |
| tree | 203f51c4092fab8286af6900a7db83fe3c526119 /resources | |
| parent | 1f9abaaa58b4517cea35921791d2bad03cbd0ef3 (diff) | |
| download | niri-c09c96442024cfacd7aa8abed6db1dc4a208bbb8.tar.gz niri-c09c96442024cfacd7aa8abed6db1dc4a208bbb8.tar.bz2 niri-c09c96442024cfacd7aa8abed6db1dc4a208bbb8.zip | |
default-config: Add example for spawn with bash
Diffstat (limited to 'resources')
| -rw-r--r-- | resources/default-config.kdl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/resources/default-config.kdl b/resources/default-config.kdl index 85539b43..38a78488 100644 --- a/resources/default-config.kdl +++ b/resources/default-config.kdl @@ -191,6 +191,9 @@ binds { Mod+D { spawn "fuzzel"; } Mod+Alt+L { spawn "swaylock"; } + // You can also use a shell: + // Mod+T { spawn "bash" "-c" "notify-send hello && exec alacritty"; } + // Example volume keys mappings for PipeWire & WirePlumber. XF86AudioRaiseVolume { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1+"; } XF86AudioLowerVolume { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1-"; } |
