Resolution: blank resolution on Windows
This commit is contained in:
parent
180d5b32c5
commit
63529ddebf
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -1266,7 +1266,7 @@ get_resolution() {
|
||||||
height="$(wmic path Win32_VideoController get CurrentVerticalResolution /value)"
|
height="$(wmic path Win32_VideoController get CurrentVerticalResolution /value)"
|
||||||
height="${height//CurrentVerticalResolution'='/}"
|
height="${height//CurrentVerticalResolution'='/}"
|
||||||
|
|
||||||
[[ "$width" ]] && resolution="${width}x${height}"
|
[[ "$(trim "$width")" ]] && resolution="${width}x${height}"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"Haiku")
|
"Haiku")
|
||||||
|
|
Loading…
Reference in a new issue