From 365a13de3e19c66f6bb2ffb806e8086a068ffc25 Mon Sep 17 00:00:00 2001 From: Ryan Schanzenbacher Date: Sun, 9 Mar 2025 23:44:45 -0400 Subject: changed hyprland build, added mouse fx, firefox changes --- home-config/hypr/scripts/perf_mode.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 home-config/hypr/scripts/perf_mode.sh (limited to 'home-config/hypr/scripts/perf_mode.sh') diff --git a/home-config/hypr/scripts/perf_mode.sh b/home-config/hypr/scripts/perf_mode.sh new file mode 100755 index 0000000..c195688 --- /dev/null +++ b/home-config/hypr/scripts/perf_mode.sh @@ -0,0 +1,14 @@ +#!/usr/bin/env bash +HYPRGAMEMODE=$(hyprctl getoption animations:enabled | awk 'NR==1{print $2}') +if [ "$HYPRGAMEMODE" = 1 ] ; then + hyprctl --batch "\ + keyword animations:enabled 0;\ + keyword decoration:drop_shadow 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" + exit +fi +hyprctl reload -- cgit v1.2.3