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

6 lines
164 B
Bash
Raw Normal View History

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