Windows get resolution take two

This commit is contained in:
Dylan 2016-01-08 20:58:28 +11:00
parent cb0dae0a20
commit 196dfc009a

2
fetch
View file

@ -589,7 +589,7 @@ getresolution () {
;;
"Windows")
resolution="$(cmd /c wmic desktopmonitor get screenwidth, screenheight)"
resolution="$(wmic path Win32_VideoController get CurrentHorizontalResolution,CurrentVerticalResolution /format:value)"
;;
*)