I am batman

This commit is contained in:
2026-07-10 20:07:29 -04:00
commit 4aac54bff6
175 changed files with 18136 additions and 0 deletions

16
scripts/gamemode.nix Normal file
View File

@@ -0,0 +1,16 @@
{ pkgs }:
pkgs.writeShellScriptBin "gamemode" ''
# Toggle animations on/off for gaming mode
status=$(${pkgs.hyprland}/bin/hyprctl getoption animations:enabled | grep -oP 'int: \K[0-9]+')
if [ "$status" = "1" ]; then
# Disable animations
${pkgs.hyprland}/bin/hyprctl keyword animations:enabled 0
${pkgs.libnotify}/bin/notify-send "Gamemode: ON" "Animations disabled"
else
# Enable animations
${pkgs.hyprland}/bin/hyprctl keyword animations:enabled 1
${pkgs.libnotify}/bin/notify-send "Gamemode: OFF" "Animations enabled"
fi
''