mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-12-15 19:30:51 +01:00
17 lines
568 B
Bash
Executable File
17 lines
568 B
Bash
Executable File
#!/usr/bin/env sh
|
|
# NOTE: This script was taken from the Hyprland wiki
|
|
# TODO: Integrate hyprctl commands into your own workflow.
|
|
HYPRGAMEMODE=$(hyprctl getoption animations:enabled | sed -n '2p' | awk '{print $2}')
|
|
if [ $HYPRGAMEMODE = 1 ] ; then
|
|
hyprctl --batch "\
|
|
keyword animations:enabled 0;\
|
|
keyword decoration:drop_shadow 0;\
|
|
keyword decoration:blur 0;\
|
|
keyword general:gaps_in 0;\
|
|
keyword general:gaps_out 0;\
|
|
keyword general:border_size 1;\
|
|
keyword decoration:rounding 0"
|
|
exit
|
|
fi
|
|
hyprctl reload
|