General: Function cleanup
This commit is contained in:
parent
37dd5d5741
commit
fec45f7a75
1 changed files with 4 additions and 7 deletions
11
neofetch
11
neofetch
|
@ -2440,13 +2440,10 @@ prin() {
|
||||||
# Underline {{{
|
# Underline {{{
|
||||||
|
|
||||||
getunderline() {
|
getunderline() {
|
||||||
case "$underline_enabled" in
|
if [ "$underline_enabled" == "on" ]; then
|
||||||
"on")
|
underline="$(printf %"$length"s)"
|
||||||
underline="$(printf %"$length"s)"
|
underline="${underline// /$underline_char}"
|
||||||
underline="${underline// /$underline_char}"
|
fi
|
||||||
;;
|
|
||||||
"off") underline="" ;;
|
|
||||||
esac
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# }}}
|
# }}}
|
||||||
|
|
Loading…
Reference in a new issue