From 196dfc009ac6c58b9c29c1ba19b4b3c2ca9d8f02 Mon Sep 17 00:00:00 2001 From: Dylan Date: Fri, 8 Jan 2016 20:58:28 +1100 Subject: [PATCH] Windows get resolution take two --- fetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fetch b/fetch index 9e910225..a27aea86 100755 --- a/fetch +++ b/fetch @@ -589,7 +589,7 @@ getresolution () { ;; "Windows") - resolution="$(cmd /c wmic desktopmonitor get screenwidth, screenheight)" + resolution="$(wmic path Win32_VideoController get CurrentHorizontalResolution,CurrentVerticalResolution /format:value)" ;; *)