summaryrefslogtreecommitdiffstats
path: root/kwin/data/kwin_focus2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'kwin/data/kwin_focus2.sh')
-rw-r--r--kwin/data/kwin_focus2.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/kwin/data/kwin_focus2.sh b/kwin/data/kwin_focus2.sh
new file mode 100644
index 000000000..c3d6f9eea
--- /dev/null
+++ b/kwin/data/kwin_focus2.sh
@@ -0,0 +1,8 @@
+#! /bin/sh
+while read line; do
+ if echo "$line" | grep '^IgnoreFocusStealingClasses=' >/dev/null 2>/dev/null; then
+ echo "$line" | sed 's/,kded//' | sed 's/kded,//' | sed 's/,kget//' | sed 's/kget,//'
+ else
+ echo "$line"
+ fi
+done