qtile gives me more than dwm. I will try to live with it's quirks.

This commit is contained in:
Bartek Stalewski 2022-08-23 00:15:20 +02:00
parent 35ccb08948
commit 75517d5ad3
35 changed files with 9 additions and 9 deletions

View file

@ -0,0 +1,4 @@
#!/bin/bash
vol=$(pactl get-sink-volume @DEFAULT_SINK@ | awk -F' / ' '{print $2}' | tr -d '%')
[ $(pactl get-sink-mute @DEFAULT_SINK@ | awk -F': ' '{print $2}') = yes ] || [ "$vol" -eq 0 ] && printf "^c#ffffff^^b#770000^mute^d^" || printf "${vol}%%"