aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-09-23 18:45:33 +0200
committerlonkaars <loek@pipeframe.xyz>2022-09-23 18:45:33 +0200
commite6032137bf9f092223038c101bf7ccc31a84dba6 (patch)
treec57cfab6a2f7087726fdcc3460218300d11fc4b4
parent9a4d73f7dcf5914776b9d6730ce53fad38bef119 (diff)
add pew script for shooting windows
-rwxr-xr-x.local/share/bin/pew3
1 files changed, 3 insertions, 0 deletions
diff --git a/.local/share/bin/pew b/.local/share/bin/pew
new file mode 100755
index 0000000..70a9673
--- /dev/null
+++ b/.local/share/bin/pew
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+kill -9 $(xprop | grep "_NET_WM_PID(CARDINAL)" | cut -d' ' -f3)