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

7 lines
164 B
Bash
Raw Normal View History

2024-06-02 17:16:50 +02:00
#!/bin/bash
if [ "$(hyprctl activewindow -j | jq -r ".class")" = "Steam" ]; then
xdotool getactivewindow windowunmap
else
hyprctl dispatch killactive ""
fi