These are my window rules. As far as I can tell from the documentation, these are at least correct:
windowrule = content game, initialClass:^(steam_app_\d+)|(cyberpunk2077.exe)$, title:negative:|^(?i)(.*(Launcher|NetEase Game Security).*)$
windowrule = fullscreen, content:game
windowrule = immediate, content:game
windowrule = workspace 4, initialClass:steam
windowrule = workspace 2, initialClass:discord
However, when I launch Marvel Rivals from Steam, if it’s set to Borderless Windowed in-game, the window will not be full-screened.
I have a little rungame script which is this:
#!/usr/bin/env bash
HYPRGAMEMODE="$(hyprctl -j getoption animations:enabled | jq -r '.set')"
if $HYPRGAMEMODE; then
hyprctl --batch "\
keyword animations:enabled 0; \
keyword animation borderangle,0: \
keyword decoration:shadow:enabled 0;\
keyword decoration:blur:enabled 0;\
keyword decoration:fullscreen_opacity 1;\
keyword general:gaps_in 0;\
keyword general:gaps_out 0;\
keyword general:border_size 1;\
keyword decoration:rounding 0"
fi
systemctl --user stop kanata.service
cmd=(prime-run game-performance)
cmd+=("$@")
"${cmd[@]}"
systemctl --user start kanata.service
hyprctl reload
Does it affect how window rules are applied?
What am I doing wrong?