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

6 lines
164 B
Bash
Raw Normal View History

2024-07-11 00:01:49 +05:30
if [[ $(hyprctl activewindow -j | jq -r ".class") == "Steam" ]]; then
xdotool windowunmap $(xdotool getactivewindow)
else
hyprctl dispatch killactive ""
fi