qtile was an adventure, but dwm is still my favorite.

This commit is contained in:
Bartek Stalewski 2022-08-21 16:40:05 +02:00
parent e06858b8af
commit 27aadd0ed1
32 changed files with 0 additions and 0 deletions

5
_unused/qtile/sb-volume Executable file
View file

@ -0,0 +1,5 @@
#!/bin/bash
icon='\uf028 '
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 "$icon <span foreground='#ffffff' background='#770000'>mute</span>" || printf "$icon ${vol}%%"