Resolution: [Windows] Fix stray whitspace
This commit is contained in:
parent
0f97dc5326
commit
64e8ca6e1b
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -1395,7 +1395,7 @@ get_resolution() {
|
||||||
height="$(wmic path Win32_VideoController get CurrentVerticalResolution)"
|
height="$(wmic path Win32_VideoController get CurrentVerticalResolution)"
|
||||||
height="${height//CurrentVerticalResolution/}"
|
height="${height//CurrentVerticalResolution/}"
|
||||||
|
|
||||||
[[ "$(trim "$width")" ]] && resolution="${width}x${height}"
|
[[ "$(trim "$width")" ]] && resolution="${width// }x${height// }"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"Haiku")
|
"Haiku")
|
||||||
|
|
Loading…
Reference in a new issue