Initial commit for build of dwmblocks

This commit is contained in:
Alex Selimov 2024-01-25 19:34:10 -05:00
commit e60906dbc6
14 changed files with 416 additions and 0 deletions

14
scripts/bar_volume.sh Executable file
View file

@ -0,0 +1,14 @@
#!/usr/bin/bash
[ $(pamixer --get-mute) = true ] && echo&& exit
vol="$(pamixer --get-volume)"
if [ "$vol" -gt "70" ]; then
icon="󰕾"
elif [ "$vol" -gt "30" ]; then
icon="󰖀"
else
icon="󰕿"
fi
echo "$icon $vol%"