mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-24 20:34:57 +00:00
General: Function cleanup
This commit is contained in:
11
neofetch
11
neofetch
@@ -2440,13 +2440,10 @@ prin() {
|
||||
# Underline {{{
|
||||
|
||||
getunderline() {
|
||||
case "$underline_enabled" in
|
||||
"on")
|
||||
underline="$(printf %"$length"s)"
|
||||
underline="${underline// /$underline_char}"
|
||||
;;
|
||||
"off") underline="" ;;
|
||||
esac
|
||||
if [ "$underline_enabled" == "on" ]; then
|
||||
underline="$(printf %"$length"s)"
|
||||
underline="${underline// /$underline_char}"
|
||||
fi
|
||||
}
|
||||
|
||||
# }}}
|
||||
|
||||
Reference in New Issue
Block a user