Skip to content

Transparency Issue #109

Closed Answered by prasanthrangan
drejbrando asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

Please update the gamemode script as below, to remove Transparency during gamemode -

#!/usr/bin/env sh

HYPRGAMEMODE=$(hyprctl getoption animations:enabled | sed -n '2p' | awk '{print $2}')

if [ -s $HOME/.config/hypr/windowrules.conf ] && [ $HYPRGAMEMODE = 1 ] ; then
    mv $HOME/.config/hypr/windowrules.conf $HOME/.config/hypr/windowrules.gamemode
    touch $HOME/.config/hypr/windowrules.conf
    hyprctl reload
elif [ -s $HOME/.config/hypr/windowrules.gamemode ] ; then
    mv $HOME/.config/hypr/windowrules.gamemode $HOME/.config/hypr/windowrules.conf
    hyprctl reload
fi

if [ $HYPRGAMEMODE = 1 ] ; then
    hyprctl --batch "\
        keyword animations:enabled 0;\
        keyword d…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by drejbrando
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants