This commit is contained in:
sankalp committed 2024-06-17 15:14:18 +05:45
1 parent 3bd8b7726b
commit 5f86e55877
3 files changed
+164 -93

No files matched your search

+3 -3
View File
@@ -68,10 +68,10 @@ volume() {
}
toggle_mute() {
if pamixer --get-mute; then
pamixer -u && notify-send -e -u low -i "$(get_icon)" "Volume Switched ON"
else
if [ "$(pamixer --get-mute)" == "false" ]; then
pamixer -m && notify-send -e -u low -i "$iDIR/volume-mute.png" "Volume Switched OFF"
elif [ "$(pamixer --get-mute)" == "true" ]; then
pamixer -u && notify-send -e -u low -i "$(get_icon)" "Volume Switched ON"
fi
}