add swayprop
This commit is contained in:
7
.config/swayprop/swaykill
Executable file
7
.config/swayprop/swaykill
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
_pid=$(swayprop | jq .pid)
|
||||
if [ -z "${_pid}" ]; then
|
||||
exit 1
|
||||
else
|
||||
kill "$@" $_pid
|
||||
fi
|
||||
Reference in New Issue
Block a user