Revert windows resolution detection
This commit is contained in:
parent
a79e74df1a
commit
14a6b486ad
1 changed files with 0 additions and 4 deletions
4
fetch.sh
4
fetch.sh
|
@ -558,10 +558,6 @@ getresolution () {
|
||||||
resolution=$(system_profiler SPDisplaysDataType | awk '/Resolution:/ {print $2"x"$4" "}')
|
resolution=$(system_profiler SPDisplaysDataType | awk '/Resolution:/ {print $2"x"$4" "}')
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"Windows")
|
|
||||||
resolution=$(cmd /c wmic desktopmonitor get screenheight, screenwidth)
|
|
||||||
;;
|
|
||||||
|
|
||||||
*)
|
*)
|
||||||
resolution="Unknown"
|
resolution="Unknown"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue