diff options
Diffstat (limited to '1-kill-kdesession.sh')
-rwxr-xr-x | 1-kill-kdesession.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/1-kill-kdesession.sh b/1-kill-kdesession.sh new file mode 100755 index 0000000000..83ef238b3d --- /dev/null +++ b/1-kill-kdesession.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +pids=$(pgrep X); +[ -n "$pids" ] && kill $pids |