mirror of
https://github.com/dylanaraps/neofetch
synced 2025-12-30 00:05:08 -05:00
neofetch: Fix windows issue. Closes #1297
This commit is contained in:
parent
492af341b8
commit
bf0eef3f07
3
neofetch
3
neofetch
@ -2793,7 +2793,8 @@ get_resolution() {
|
||||
sh=("${sh[@]//*CurrentVerticalResolution*}")
|
||||
|
||||
for ((mn = 0; mn < ${#sw[@]}; mn++)) {
|
||||
resolution+=${sw[mn]//[[:space:]]}x${sh[mn]//[[:space:]]},
|
||||
[[ ${sw[mn]//[[:space:]]} && ${sh[mn]//[[:space:]]} ]] &&
|
||||
resolution+=${sw[mn]//[[:space:]]}x${sh[mn]//[[:space:]]},
|
||||
}
|
||||
|
||||
resolution=${resolution%,}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user