Windows get resolution take two
This commit is contained in:
parent
cb0dae0a20
commit
196dfc009a
1 changed files with 1 additions and 1 deletions
2
fetch
2
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)"
|
||||
;;
|
||||
|
||||
*)
|
||||
|
|
Loading…
Reference in a new issue