diff --git a/bar/i3status-rust/scripts/refresh-rate b/bar/i3status-rust/scripts/refresh-rate index 1436e2d..6bf6bb3 100755 --- a/bar/i3status-rust/scripts/refresh-rate +++ b/bar/i3status-rust/scripts/refresh-rate @@ -1,7 +1,7 @@ #!/usr/bin/env bash get-refresh-rate () { - xrandr --screen 0 | grep "*" | cut -d "*" -f 1 | awk '{print $NF}' | cut -d "." -f 1 + xrandr --screen 0 | grep "*" | cut -d "*" -f 1 | awk '{print $NF}' | cut -d "." -f 1 | head -n 1 } get-refresh-rate-json () {