add swayprop

This commit is contained in:
2025-06-26 19:01:39 +02:00
parent 7829af72ac
commit 8741765c2d
9 changed files with 848 additions and 0 deletions

7
.config/swayprop/swaykill Executable file
View File

@@ -0,0 +1,7 @@
#!/usr/bin/env bash
_pid=$(swayprop | jq .pid)
if [ -z "${_pid}" ]; then
exit 1
else
kill "$@" $_pid
fi