Sway : Fix default vrr state.
This commit is contained in:
parent
5048ab2e99
commit
54d6370d1a
|
@ -20,10 +20,10 @@
|
||||||
|
|
||||||
# Toggle VRR.
|
# Toggle VRR.
|
||||||
function vrrtoggle() {
|
function vrrtoggle() {
|
||||||
if [[ "$(_vrrstate)" = "off" ]]; then
|
if [[ "$(_vrrstate)" = "on" ]]; then
|
||||||
vrron
|
|
||||||
else
|
|
||||||
vrroff
|
vrroff
|
||||||
|
else
|
||||||
|
vrron
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue