a lot of applications seem to hardcode this location, so it's better to have something default, or default-adjasoned.
6 lines
255 B
Bash
Executable File
6 lines
255 B
Bash
Executable File
#!/usr/bin/sh
|
|
|
|
vol_str=$(wpctl get-volume @DEFAULT_AUDIO_SOURCE@)
|
|
vol_int="$(echo "$vol_str" | sed 's/[^0-9]*//g')"
|
|
notify-send -i microphone-sensitivity-muted -u low -h int:value:"$vol_int" -h string:x-dunst-stack-tag:'audioctl' -a 'audioctl' "$vol_str"
|