punktdateien/hypr/scripts.d/kill-active.sh

6 lines
164 B
Bash
Executable file

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