dotfiles/.config/eww/scripts/toggle-volume-mute.sh

6 lines
114 B
Bash
Raw Normal View History

2024-11-05 14:09:13 +01:00
#!/bin/bash
swayosd-client "--$1-volume" mute-toggle
eww update volume="$(~/.config/eww/scripts/get-volume.sh)"