This commit is contained in:
sevi-kun
2020-05-26 08:31:18 +02:00
parent eb128e6767
commit 09a818598a
10 changed files with 80 additions and 0 deletions

9
toggle_mute.sh Executable file
View File

@ -0,0 +1,9 @@
#!/bin/bash
pulsemixer --toggle-mute
muted=$(amixer -D pulse get Master | awk -F'[][]' 'END{ print $4}')
if [ "on" == "$muted" ]
then
notify-send "Sound is now toggled on"
else
notify-send "Sound is now toggled off"
fi