diff options
Diffstat (limited to 'resources')
| -rw-r--r-- | resources/default-config.kdl | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/resources/default-config.kdl b/resources/default-config.kdl index 9d45242e..55949bc4 100644 --- a/resources/default-config.kdl +++ b/resources/default-config.kdl @@ -270,6 +270,9 @@ layout { // This line starts waybar, a commonly used bar for Wayland compositors. spawn-at-startup "waybar" +// To run a shell command (with variables, pipes, etc.), use spawn-at-startup-sh: +// spawn-at-startup-sh "qs -c ~/source/qs/MyAwesomeShell" + hotkey-overlay { // Uncomment this line to disable the "Important Hotkeys" pop-up at startup. // skip-at-startup @@ -363,10 +366,10 @@ binds { Mod+D hotkey-overlay-title="Run an Application: fuzzel" { spawn "fuzzel"; } Super+Alt+L hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock"; } - // 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. + // Use spawn-sh to run a shell command. Do this if you need pipes, multiple commands, etc. + // Note: the entire command goes as a single argument. It's passed verbatim to `sh -c`. // For example, this is a standard bind to toggle the screen reader (orca). - Super+Alt+S hotkey-overlay-title=null { spawn "sh" "-c" "pkill orca || exec orca"; } + Super+Alt+S hotkey-overlay-title=null { spawn-sh "pkill orca || exec orca"; } // Example volume keys mappings for PipeWire & WirePlumber. // The allow-when-locked=true property makes them work even when the session is locked. |
