Initial commit of utility scripts

This commit is contained in:
Alex Selimov 2024-12-12 20:16:38 -05:00
parent ac77586a15
commit 1faeefffd7
34 changed files with 1328 additions and 1 deletions

14
bin/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%"