forge
Explore
Log in

Don't you dare go Hollow

default-config: Mark orca as allow-when-locked

Browse files at this commit

d4e1b2231b3831a3a3ebe1bca3283c74fe5bba4eIvan MolodetskikhParent: e81f356
Consistent with GNOME. Move down so allow-when-locked explanation is above.
resources/default-config.kdlmodified+5 -5
@@ -366,11 +366,6 @@ binds {
366366 Mod+D hotkey-overlay-title="Run an Application: fuzzel" { spawn "fuzzel"; }
367367 Super+Alt+L hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock"; }
368368
369- // Use spawn-sh to run a shell command. Do this if you need pipes, multiple commands, etc.
370- // Note: the entire command goes as a single argument. It's passed verbatim to `sh -c`.
371- // For example, this is a standard bind to toggle the screen reader (orca).
372- Super+Alt+S hotkey-overlay-title=null { spawn-sh "pkill orca || exec orca"; }
373-
374369 // Example volume keys mappings for PipeWire & WirePlumber.
375370 // The allow-when-locked=true property makes them work even when the session is locked.
376371 XF86AudioRaiseVolume allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1+"; }
@@ -382,6 +377,11 @@ binds {
382377 XF86MonBrightnessUp allow-when-locked=true { spawn "brightnessctl" "--class=backlight" "set" "+10%"; }
383378 XF86MonBrightnessDown allow-when-locked=true { spawn "brightnessctl" "--class=backlight" "set" "10%-"; }
384379
380+ // Use spawn-sh to run a shell command. Do this if you need pipes, multiple commands, etc.
381+ // Note: the entire command goes as a single argument. It's passed verbatim to `sh -c`.
382+ // For example, this is a standard bind to toggle the screen reader (orca).
383+ Super+Alt+S allow-when-locked=true hotkey-overlay-title=null { spawn-sh "pkill orca || exec orca"; }
384+
385385 // Open/close the Overview: a zoomed-out view of workspaces and windows.
386386 // You can also move the mouse into the top-left hot corner,
387387 // or do a four-finger swipe up on a touchpad.