Revert windows resolution detection

This commit is contained in:
dylan araps 2016-01-05 17:19:48 +11:00
parent a79e74df1a
commit 14a6b486ad

View file

@ -558,10 +558,6 @@ getresolution () {
resolution=$(system_profiler SPDisplaysDataType | awk '/Resolution:/ {print $2"x"$4" "}')
;;
"Windows")
resolution=$(cmd /c wmic desktopmonitor get screenheight, screenwidth)
;;
*)
resolution="Unknown"
;;