punktdateien/gui/hypr/scripts.d/kill-active.sh
2024-06-03 20:10:39 +02:00

6 lines
158 B
Bash
Executable file

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