Files
nix/modules/home/hyprland/conf/hypr/scripts/dontkillsteam.sh
2023-10-06 12:11:50 +08:00

6 lines
164 B
Bash
Executable File

if [[ $(hyprctl activewindow -j | jq -r ".class") == "Steam" ]]; then
xdotool windowunmap $(xdotool getactivewindow)
else
hyprctl dispatch killactive ""
fi