1
0
Fork 0

Fix aliasrc, volume icon spacing

This commit is contained in:
Luca Bilke 2022-07-08 23:59:06 +02:00
parent 6971dead24
commit e82583150e
2 changed files with 5 additions and 5 deletions

View File

@ -51,4 +51,4 @@ alias \
weath="less -S ${XDG_DATA_HOME:-$HOME/.local/share}/weatherreport" \ weath="less -S ${XDG_DATA_HOME:-$HOME/.local/share}/weatherreport" \
remvirt="virt-manager -c 'qemu+ssh://luca@192.168.178.200/system'" \ remvirt="virt-manager -c 'qemu+ssh://luca@192.168.178.200/system'" \
vim="lvim" \ vim="lvim" \
ssh="kitty +kitten ssh myserver" ssh="kitty +kitten ssh"

View File

@ -18,13 +18,13 @@ esac
vol="$(pamixer --get-volume)" vol="$(pamixer --get-volume)"
if [ "$vol" -gt "70" ]; then if [ "$vol" -gt "70" ]; then
icon="墳" icon=" "
elif [ "$vol" -gt "30" ]; then elif [ "$vol" -gt "30" ]; then
icon="奔" icon=" 奔 "
elif [ "$vol" -gt "0" ]; then elif [ "$vol" -gt "0" ]; then
icon="奄" icon=" "
else else
echo ﱝ && exit echo " "&& exit
fi fi
echo "$icon$vol%" echo "$icon$vol%"