diff options
-rwxr-xr-x | monitor-probe | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/monitor-probe b/monitor-probe index 74af0be..dfde554 100755 --- a/monitor-probe +++ b/monitor-probe @@ -23,12 +23,12 @@ if [ $EUID != 0 ]; then exit 1 fi -[ -n "$opt_v" ] && echo "probing EDID" +[ -n "$opt_v" ] && echo "probing EDID" 1>&2 monitor-edid $opt_v && exit 0 -[ -n "$opt_v" ] && echo "probing using X" +[ -n "$opt_v" ] && echo "probing using X" 1>&2 monitor-probe-using-X $X_driver && exit 0 -[ -n "$opt_v" ] && echo "probing DMI" +[ -n "$opt_v" ] && echo "probing DMI" 1>&2 lspcidrake | sed -n 's/^\(Resolution\|Diagonal_size\):\([^:]*\):.*/\1: \2/p' |