mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-04 09:08:38 +00:00
Revert windows resolution detection
This commit is contained in:
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"
|
||||||
;;
|
;;
|
||||||
|
Reference in New Issue
Block a user