Sway : Fix default vrr state.

This commit is contained in:
Dmitry Voronin 2024-05-08 19:22:04 +03:00
parent 5048ab2e99
commit 54d6370d1a
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -20,10 +20,10 @@
# Toggle VRR.
function vrrtoggle() {
if [[ "$(_vrrstate)" = "off" ]]; then
vrron
else
if [[ "$(_vrrstate)" = "on" ]]; then
vrroff
else
vrron
fi
}