Fix aliasrc, volume icon spacing
This commit is contained in:
parent
6971dead24
commit
e82583150e
|
@ -51,4 +51,4 @@ alias \
|
|||
weath="less -S ${XDG_DATA_HOME:-$HOME/.local/share}/weatherreport" \
|
||||
remvirt="virt-manager -c 'qemu+ssh://luca@192.168.178.200/system'" \
|
||||
vim="lvim" \
|
||||
ssh="kitty +kitten ssh myserver"
|
||||
ssh="kitty +kitten ssh"
|
||||
|
|
|
@ -18,13 +18,13 @@ esac
|
|||
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
|
||||
echo " ﱝ "&& exit
|
||||
fi
|
||||
|
||||
echo "$icon$vol%"
|
||||
|
|
Loading…
Reference in New Issue