summary refs log tree commit diff
path: root/1-kill-kdesession.sh
diff options
context:
space:
mode:
Diffstat (limited to '1-kill-kdesession.sh')
-rwxr-xr-x1-kill-kdesession.sh4
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