dotfiles-remastered/.config/hypr/killscript.sh

9 lines
165 B
Bash
Raw Normal View History

2023-05-05 13:32:51 +00:00
#!/bin/sh
if [ "$(hyprctl activewindow -j | jq -r ".class")" = "Steam" ]; then
xdotool getactivewindow windowunmap
else
hyprctl dispatch killactive ""
fi