mirror of
https://github.com/dylanaraps/neofetch.git
synced 2026-01-05 14:49:04 +00:00
General: Supress xrdb error
This commit is contained in:
2
neofetch
2
neofetch
@@ -2926,7 +2926,7 @@ gettermpadding() {
|
||||
dynamicprompt() {
|
||||
# Calculate image height in terminal cells.
|
||||
if [[ "$image" != "ascii" ]]; then
|
||||
gettermpadding
|
||||
gettermpadding 2>/dev/null
|
||||
lines="$(((height + (${border:-0} * 2) + ${yoffset:-0}) / font_height))"
|
||||
else
|
||||
lines="$((lines-=2))"
|
||||
|
||||
Reference in New Issue
Block a user