fixed if statement for linux resolution
This commit is contained in:
parent
ae87921865
commit
044ee72619
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -1285,7 +1285,7 @@ getresolution () {
|
|||
esac
|
||||
resolution=${resolution//\*}
|
||||
|
||||
elif type -p xdpyinfo >/dev/null 2>&1 && \
|
||||
elif type -p xdpyinfo >/dev/null 2>&1; then
|
||||
resolution=$(xdpyinfo 2>/dev/null | awk '/dimensions:/ {printf $2}')
|
||||
fi
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue