Reimplement 'color' function
This commit is contained in:
parent
69060acb32
commit
59d3d7aa38
1 changed files with 4 additions and 0 deletions
4
neofetch
4
neofetch
|
@ -2164,6 +2164,10 @@ setcolors () {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
color () {
|
||||||
|
printf "%b%s" "\033[38;5;${1}m"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
|
|
Reference in a new issue