Fixed refresh-rate script invalid json on multiple monitors
This commit is contained in:
parent
2515910d41
commit
ddef9ea7e2
1 changed files with 1 additions and 1 deletions
|
@ -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 () {
|
||||
|
|
Loading…
Reference in a new issue