mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-03 16:51:29 +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
|
||||
"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")
|
||||
|
Reference in New Issue
Block a user