fix
This commit is contained in:
1 parent
3bd8b7726b
commit
5f86e55877
3 files changed
+164
-93
No files matched your search
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# For TouchPad
|
||||
HYPRLAND_DEVICE="dll07a7:01-044e:120b-touchpad"
|
||||
HYPRLAND_DEVICE="dll07a7:01-044e:120b"
|
||||
DIR=$HOME/.cache
|
||||
STATUS_FILE="$DIR/touchpad.status"
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user