blob: 2d9acdc034074bcac9c48c94ada9e8e2983757cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/sh
# Toggle the part of Hyprland's gamemode that River can control directly.
# River classic has no built-in animation, blur, shadow, or rounding settings.
state="${XDG_RUNTIME_DIR:-/tmp}/river-gamemode"
if [ -e "$state" ]; then
riverctl border-width 3
rm -f "$state"
else
riverctl border-width 0
: > "$state"
fi
|