Merge branch 'main' of https://git.snaile.de/luca/dotfiles
This commit is contained in:
commit
3e763dbea0
|
@ -26,4 +26,4 @@ case $BLOCK_BUTTON in
|
|||
6) "$TERMINAL" -e "$EDITOR" "$0" ;;
|
||||
esac
|
||||
|
||||
date "+%Y %b %d (%a) $icon%I:%M%p"
|
||||
date "+%d.%M.%Y $icon%H:%M"
|
||||
|
|
|
@ -13,18 +13,18 @@ case $BLOCK_BUTTON in
|
|||
6) "$TERMINAL" -e "$EDITOR" "$0" ;;
|
||||
esac
|
||||
|
||||
[ $(pamixer --get-mute) = true ] && echo ﱝ && exit
|
||||
[ $(pamixer --get-mute) = true ] && echo " ﱝ " && exit
|
||||
|
||||
vol="$(pamixer --get-volume)"
|
||||
|
||||
if [ "$vol" -gt "70" ]; then
|
||||
icon=" 墳"
|
||||
icon="墳"
|
||||
elif [ "$vol" -gt "30" ]; then
|
||||
icon=" 奔"
|
||||
icon="奔"
|
||||
elif [ "$vol" -gt "0" ]; then
|
||||
icon=" 奄"
|
||||
icon="奄"
|
||||
else
|
||||
echo " ﱝ "&& exit
|
||||
fi
|
||||
|
||||
echo "$icon$vol%"
|
||||
echo " $icon $vol%"
|
||||
|
|
Loading…
Reference in New Issue