mirror of
https://github.com/hykilpikonna/hyfetch.git
synced 2026-06-02 21:45:25 -05:00
parent
77614b635f
commit
700f651378
9
neofetch
9
neofetch
|
|
@ -4656,8 +4656,13 @@ get_cols() {
|
|||
printf -v block_spaces "%${block_height}s"
|
||||
|
||||
# Convert the spaces into rows of blocks.
|
||||
[[ "$blocks" ]] && cols+="${block_spaces// /${blocks}\[mnl}"
|
||||
[[ "$blocks2" ]] && cols+="${block_spaces// /${blocks2}\[mnl}"
|
||||
if [[ $BASH_VERSION == 3* ]]; then
|
||||
[[ "$blocks" ]] && cols+="${block_spaces// /${blocks}[mnl}"
|
||||
[[ "$blocks2" ]] && cols+="${block_spaces// /${blocks2}[mnl}"
|
||||
else
|
||||
[[ "$blocks" ]] && cols+="${block_spaces// /${blocks}\[mnl}"
|
||||
[[ "$blocks2" ]] && cols+="${block_spaces// /${blocks2}\[mnl}"
|
||||
fi
|
||||
|
||||
# Determine the horizontal offset of the blocks.
|
||||
case $col_offset in
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user