This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |