Skip to content

Instantly share code, notes, and snippets.

View bbbart's full-sized avatar

Bart Van Loon bbbart

View GitHub Profile
#!/usr/bin/env sh
# changes the volume (pipewire)
# indicates the current volume (notify-send)
ICON="/usr/share/icons/Adwaita/scalable/legacy/multimedia-volume-control-symbolic.svg"
function get_volume {
# when unmuted, returns the volume (float)
# when muted, returns zero