mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-04 01:00:17 +00:00
resolution: Fix lint error.
This commit is contained in:
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
Block a user