#!/usr/bin/env sh HYPRGAMEMODE=$(hyprctl getoption animations:enabled | awk 'NR==1{print $2}') GAMING_PROFILE="GAMEINK" if [ "$HYPRGAMEMODE" = "true" ] ; then hyprctl eval 'hl.config({ animations = { enabled = false }, decoration = { blur = { enabled = false}, rounding = 0, shadow = { enabled = false }, fullscreen_opacity = 1}, general = { border_size = 1, gaps_in = 0, gaps_out = 0}})' tailor profile set "$GAMING_PROFILE" dunstify -r 55421 -u low -t 2000 -i ~/.icons/candy-icons/apps/scalable/cs-desktop.svg "Toggled animations off" exit else dunstify -r 55421 -u low -t 2000 -i ~/.icons/candy-icons/apps/scalable/cs-desktop.svg "Toggled animations on" hyprctl reload exit 0 fi