move xdg directories to the default location.
a lot of applications seem to hardcode this location, so it's better to have something default, or default-adjasoned.
This commit is contained in:
5
.local/bin/x-mic-mute
Executable file
5
.local/bin/x-mic-mute
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/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"
|
||||
Reference in New Issue
Block a user