aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-05-21 22:33:50 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2024-05-21 22:33:50 +0400
commitefb39e466b5248eb894745e899de33661493511d (patch)
treeef65ec7019f771580aa4d1014b65e2d635636559
parent14d637f4efb6053c7243930944861f9eaf6127d3 (diff)
downloadniri-efb39e466b5248eb894745e899de33661493511d.tar.gz
niri-efb39e466b5248eb894745e899de33661493511d.tar.bz2
niri-efb39e466b5248eb894745e899de33661493511d.zip
default-config: Clarify spawn comments
-rw-r--r--resources/default-config.kdl4
1 files changed, 3 insertions, 1 deletions
diff --git a/resources/default-config.kdl b/resources/default-config.kdl
index fda3ad84..4b283466 100644
--- a/resources/default-config.kdl
+++ b/resources/default-config.kdl
@@ -187,6 +187,7 @@ layout {
// Add lines like this to spawn processes at startup.
// Note that running niri as a session supports xdg-desktop-autostart,
// which may be more convenient to use.
+// See the binds section below for more spawn examples.
// spawn-at-startup "alacritty" "-e" "fish"
// Uncomment this line to ask the clients to omit their client-side decorations if possible.
@@ -259,7 +260,8 @@ binds {
Mod+D { spawn "fuzzel"; }
Super+Alt+L { spawn "swaylock"; }
- // You can also use a shell:
+ // You can also use a shell. Do this if you need pipes, multiple commands, etc.
+ // Note: the entire command goes as a single argument in the end.
// Mod+T { spawn "bash" "-c" "notify-send hello && exec alacritty"; }
// Example volume keys mappings for PipeWire & WirePlumber.