Audio: hardware volume keys, chandra-ctl volume, and an OSD pill
CI / test (push) Failing after 51s

- Map VolumeUp, VolumeDown, and Mute keys to wpctl (PipeWire) or pactl, run asynchronously so the compositor never blocks
- Hold a volume key to repeat it; volume keys also work while the screen is off, without waking it
- Keep volume keys as the shutter when chandra-camera has focus; Mute still toggles system audio
- Add `chandra-ctl volume [up|down|mute|unmute|toggle|PCT|status]` and a transient Volume OSD
- Add volume-up, volume-down, and volume-mute entries to the shortcut table
This commit is contained in:
nandi committed 2026-11-28 20:01:58 -08:00
1 parent ebdd330eb5
commit 68912f6d64
11 files changed
+909 -1

No files matched your search

+3
View File
@@ -37,6 +37,9 @@ test "the default shortcuts are the compositor's long-standing combos" {
("dock-apps", "Super+1"),
("overview", "Super+W"),
("emoji-picker", "Super+Period"),
("volume-up", "VolumeUp"),
("volume-down", "VolumeDown"),
("volume-mute", "Mute"),
]
let sc = @shell.Shortcuts::defaults()
assert_eq(@shell.shortcut_table.length(), want.length())