resolution: Fix lint error.
This commit is contained in:
parent
5784af20d3
commit
c1cde629c4
4
neofetch
4
neofetch
|
@ -2529,8 +2529,8 @@ get_resolution() {
|
||||||
case "$refresh_rate" in
|
case "$refresh_rate" in
|
||||||
"on")
|
"on")
|
||||||
resolution="$(xrandr --nograb --current |\
|
resolution="$(xrandr --nograb --current |\
|
||||||
awk 'match($0,/[0-9]*\.[0-9]*\*/) {printf $1 " @ "\
|
awk 'match($0,/[0-9]*\.[0-9]*\*/) {
|
||||||
substr($0,RSTART,RLENGTH) "Hz, "}')"
|
printf $1 " @ " substr($0,RSTART,RLENGTH) "Hz, "}')"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"off")
|
"off")
|
||||||
|
|
Reference in New Issue