Switch to qtile.

This commit is contained in:
Bartek Stalewski 2022-07-29 15:49:27 +02:00
parent 072f0ed604
commit 29788d6fec
75 changed files with 214 additions and 1 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}%%"