Switch to qtile.

This commit is contained in:
Bartek Stalewski 2022-07-30 01:02:25 +02:00
parent afdf3d4bcd
commit e06cbc44a9
34 changed files with 34 additions and 40 deletions

5
_desktop/_scripts/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}%%"