aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts
diff options
context:
space:
mode:
authorJa.KooLit <ejhay.games@gmail.com>2024-09-01 23:02:32 +0900
committerJa.KooLit <ejhay.games@gmail.com>2024-09-01 23:02:32 +0900
commit03b85c99be2b6fcfbd9105563b4aeb44c9378bb2 (patch)
tree0499f061a262564e35d165eea7b66a758b372a11 /config/hypr/scripts
parent279e8fc83754e22ce530343fcb242351cdf2cdbc (diff)
added in gamemode to disable opacity
Diffstat (limited to 'config/hypr/scripts')
-rwxr-xr-xconfig/hypr/scripts/GameMode.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/hypr/scripts/GameMode.sh b/config/hypr/scripts/GameMode.sh
index f8dc3505..4bb7e910 100755
--- a/config/hypr/scripts/GameMode.sh
+++ b/config/hypr/scripts/GameMode.sh
@@ -11,11 +11,13 @@ if [ "$HYPRGAMEMODE" = 1 ] ; then
hyprctl --batch "\
keyword animations:enabled 0;\
keyword decoration:drop_shadow 0;\
- keyword decoration:blur:passes 0;\
+ keyword decoration:blur:passes 0;\
keyword general:gaps_in 0;\
keyword general:gaps_out 0;\
keyword general:border_size 1;\
keyword decoration:rounding 0"
+
+ hyprctl keyword "windowrule opacity 1 override 1 override 1 override, ^(.*)$"
swww kill
notify-send -e -u low -i "$notif" "gamemode enabled. All animations off"
exit
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage