default-config: Mark orca as allow-when-locked
Browse files at this commitd4e1b2231b3831a3a3ebe1bca3283c74fe5bba4eParent: e81f3561 changed file +5 -5
resources/default-config.kdlmodified+5 -5
| @@ -366,11 +366,6 @@ binds { | |||
| 366 | Mod+D hotkey-overlay-title="Run an Application: fuzzel" { spawn "fuzzel"; } | 366 | Mod+D hotkey-overlay-title="Run an Application: fuzzel" { spawn "fuzzel"; } |
| 367 | Super+Alt+L hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock"; } | 367 | Super+Alt+L hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock"; } |
| 368 | 368 | ||
| 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 | - | ||
| 374 | // Example volume keys mappings for PipeWire & WirePlumber. | 369 | // Example volume keys mappings for PipeWire & WirePlumber. |
| 375 | // The allow-when-locked=true property makes them work even when the session is locked. | 370 | // The allow-when-locked=true property makes them work even when the session is locked. |
| 376 | XF86AudioRaiseVolume allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1+"; } | 371 | XF86AudioRaiseVolume allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1+"; } |
| @@ -382,6 +377,11 @@ binds { | |||
| 382 | XF86MonBrightnessUp allow-when-locked=true { spawn "brightnessctl" "--class=backlight" "set" "+10%"; } | 377 | XF86MonBrightnessUp allow-when-locked=true { spawn "brightnessctl" "--class=backlight" "set" "+10%"; } |
| 383 | XF86MonBrightnessDown allow-when-locked=true { spawn "brightnessctl" "--class=backlight" "set" "10%-"; } | 378 | XF86MonBrightnessDown allow-when-locked=true { spawn "brightnessctl" "--class=backlight" "set" "10%-"; } |
| 384 | 379 | ||
| 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 | + | ||
| 385 | // Open/close the Overview: a zoomed-out view of workspaces and windows. | 385 | // Open/close the Overview: a zoomed-out view of workspaces and windows. |
| 386 | // You can also move the mouse into the top-left hot corner, | 386 | // You can also move the mouse into the top-left hot corner, |
| 387 | // or do a four-finger swipe up on a touchpad. | 387 | // or do a four-finger swipe up on a touchpad. |