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

+1 -1
View File
@@ -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"
+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
}