Added empty text for getresolution
This commit is contained in:
parent
10be9f4759
commit
08ea6945fa
1 changed files with 2 additions and 4 deletions
6
fetch
6
fetch
|
@ -687,11 +687,9 @@ getresolution () {
|
||||||
resolution=$(system_profiler SPDisplaysDataType |\
|
resolution=$(system_profiler SPDisplaysDataType |\
|
||||||
awk '/Resolution:/ {print $2"x"$4" "}')
|
awk '/Resolution:/ {print $2"x"$4" "}')
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
|
||||||
resolution="Unknown"
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
[ -z "$resolution" ] && resolution="Unknown"
|
||||||
}
|
}
|
||||||
|
|
||||||
getgtk () {
|
getgtk () {
|
||||||
|
|
Loading…
Reference in a new issue