From efb39e466b5248eb894745e899de33661493511d Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Tue, 21 May 2024 22:33:50 +0400 Subject: default-config: Clarify spawn comments --- resources/default-config.kdl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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. -- cgit