mirror of
https://github.com/hykilpikonna/hyfetch.git
synced 2026-09-26 18:26:29 -05:00
Resolution: blank resolution on Windows
This commit is contained in:
2
neofetch
2
neofetch
@@ -1266,7 +1266,7 @@ get_resolution() {
|
||||
height="$(wmic path Win32_VideoController get CurrentVerticalResolution /value)"
|
||||
height="${height//CurrentVerticalResolution'='/}"
|
||||
|
||||
[[ "$width" ]] && resolution="${width}x${height}"
|
||||
[[ "$(trim "$width")" ]] && resolution="${width}x${height}"
|
||||
;;
|
||||
|
||||
"Haiku")
|
||||
|
||||
Reference in New Issue
Block a user