dotfiles-remastered/.config/hypr/killscript.sh
2023-05-05 15:32:51 +02:00

9 lines
165 B
Bash
Executable File

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