diff --git a/home/.local/bin/scripts/gui/hyprland/toggle-power-save b/home/.local/bin/scripts/gui/hyprland/toggle-power-save new file mode 100755 index 0000000..c2caf5a --- /dev/null +++ b/home/.local/bin/scripts/gui/hyprland/toggle-power-save @@ -0,0 +1,15 @@ +#!/bin/sh + +if [ "$1" = "on" ]; then + echo "Enabled power saving mode" + hyprctl keyword decoration:blur false >/dev/null + hyprctl keyword decoration:drop_shadow false >/dev/null + hyprctl keyword misc:no_vfr false >/dev/null + hyprctl keyword misc:disable_autoreload true >/dev/null +else + echo "Disabled power saving mode" + hyprctl keyword decoration:blur true >/dev/null + hyprctl keyword decoration:drop_shadow true >/dev/null + hyprctl keyword misc:no_vfr true >/dev/null + hyprctl keyword misc:disable_autoreload false >/dev/null +fi