From 72d488faf811729c6231b6119243283aabd34734 Mon Sep 17 00:00:00 2001 From: Shimul <68707319+nx-smul@users.noreply.github.com> Date: Sat, 8 Feb 2025 17:49:20 +0600 Subject: [PATCH] fixed tearing ooption --- .config/ags/modules/sideright/quicktoggles.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/ags/modules/sideright/quicktoggles.js b/.config/ags/modules/sideright/quicktoggles.js index 9f3b3c6da..8bd79b1c1 100644 --- a/.config/ags/modules/sideright/quicktoggles.js +++ b/.config/ags/modules/sideright/quicktoggles.js @@ -214,10 +214,10 @@ export const ModuleGameMode = async (props = {}) => { .then((output) => { const value = JSON.parse(output)["int"]; if (value == 1) { - execAsync(['bash', '-c', `hyprctl --batch "keyword animations:enabled 0; keyword decoration:shadow:enabled 0; keyword decoration:blur:enabled 0; keyword general:gaps_in 0; keyword general:gaps_out 0; keyword general:border_size 1; keyword decoration:rounding 0; keyword general:allow_tearing 0" & hyprctl reload`]).catch(print); + execAsync(['bash', '-c', `hyprctl --batch "keyword animations:enabled 0; keyword decoration:shadow:enabled 0; keyword decoration:blur:enabled 0; keyword general:gaps_in 0; keyword general:gaps_out 0; keyword general:border_size 1; keyword decoration:rounding 0; keyword general:allow_tearing 1" & hyprctl reload`]).catch(print); button.toggleClassName('sidebar-button-active', false); } else { - execAsync(['bash', '-c', `hyprctl --batch "keyword animations:enabled 1; keyword general:allow_tearing 1" & hyprctl reload`]).catch(print); + execAsync(['bash', '-c', `hyprctl --batch "keyword animations:enabled 1; keyword general:allow_tearing 0" & hyprctl reload`]).catch(print); button.toggleClassName('sidebar-button-active', true); } })