resolution: Fix lint error.

This commit is contained in:
Dylan Araps 2018-06-02 10:07:04 +10:00
parent 5784af20d3
commit c1cde629c4
1 changed files with 2 additions and 2 deletions

View File

@ -2529,8 +2529,8 @@ get_resolution() {
case "$refresh_rate" in
"on")
resolution="$(xrandr --nograb --current |\
awk 'match($0,/[0-9]*\.[0-9]*\*/) {printf $1 " @ "\
substr($0,RSTART,RLENGTH) "Hz, "}')"
awk 'match($0,/[0-9]*\.[0-9]*\*/) {
printf $1 " @ " substr($0,RSTART,RLENGTH) "Hz, "}')"
;;
"off")