aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/KillActiveProcess.sh
blob: bee146d7d0973cfe43ba2fcee678c1697405ab7b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */  ##

# Copied from Discord post. Thanks to @Zorg


# Get id of an active window
active_pid=$(hyprctl activewindow | grep -o 'pid: [0-9]*' | cut -d' ' -f2)

# Close active window
kill $active_pid
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage