From c09c96442024cfacd7aa8abed6db1dc4a208bbb8 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Tue, 16 Jan 2024 20:08:31 +0400 Subject: default-config: Add example for spawn with bash --- resources/default-config.kdl | 3 +++ 1 file changed, 3 insertions(+) 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-"; } -- cgit