Added empty text for getresolution
This commit is contained in:
parent
10be9f4759
commit
08ea6945fa
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 () {
|
||||||
|
|
Reference in New Issue