dotfiles/.config/hypr/scripts/dontkillsteam.sh

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