mirror of
https://github.com/dylanaraps/neofetch.git
synced 2026-01-04 06:26:44 +00:00
General: Function cleanup
This commit is contained in:
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
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# }}}
|
# }}}
|
||||||
|
|||||||
Reference in New Issue
Block a user