diff --git a/fetch.sh b/fetch.sh index 7524dff1..a2f2d45d 100755 --- a/fetch.sh +++ b/fetch.sh @@ -558,6 +558,10 @@ getresolution () { resolution=$(system_profiler SPDisplaysDataType | awk '/Resolution:/ {print $2"x"$4" "}') ;; + "Windows") + resolution=$(cmd /c wmic desktopmonitor get screenheight, screenwidth) + ;; + *) resolution="Unknown" ;;