summaryrefslogtreecommitdiffstats
path: root/twin/data/twin_focus2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'twin/data/twin_focus2.sh')
-rw-r--r--twin/data/twin_focus2.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/twin/data/twin_focus2.sh b/twin/data/twin_focus2.sh
new file mode 100644
index 000000000..c3d6f9eea
--- /dev/null
+++ b/twin/data/twin_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