1
1
Fork 0
nixos/options/custom/scripts/vrr.sh
Myned 53c8575116
git: migrate to forgejo
Squashes 1,331 commits

Signed-off-by: Myned <dev@bjork.tech>
2024-09-12 19:41:21 -05:00

11 lines
260 B
Bash

#! /usr/bin/env bash
# Toggle vrr
if [[ "$(hyprctl -j getoption misc:vrr | jq .int)" != 0 ]]; then
hyprctl keyword misc:vrr 0
notify-send '> vrr' 'Disabled' --urgency low
else
hyprctl keyword misc:vrr 2
notify-send '> vrr' 'Enabled' --urgency low
fi