resolution: If resolution is empty don't print it.
This commit is contained in:
parent
074323f0ed
commit
056a99bfa2
1 changed files with 1 additions and 0 deletions
1
neofetch
1
neofetch
|
@ -2617,6 +2617,7 @@ get_resolution() {
|
||||||
esac
|
esac
|
||||||
|
|
||||||
resolution="${resolution%,*}"
|
resolution="${resolution%,*}"
|
||||||
|
[[ -z ${resolution/x} ]] && resolution=
|
||||||
}
|
}
|
||||||
|
|
||||||
get_style() {
|
get_style() {
|
||||||
|
|
Loading…
Reference in a new issue