summaryrefslogtreecommitdiffstats
path: root/kkbswitch.upd/kkbswitch_update_14_options
diff options
context:
space:
mode:
Diffstat (limited to 'kkbswitch.upd/kkbswitch_update_14_options')
-rwxr-xr-xkkbswitch.upd/kkbswitch_update_14_options16
1 files changed, 16 insertions, 0 deletions
diff --git a/kkbswitch.upd/kkbswitch_update_14_options b/kkbswitch.upd/kkbswitch_update_14_options
new file mode 100755
index 0000000..db506b3
--- /dev/null
+++ b/kkbswitch.upd/kkbswitch_update_14_options
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+# update options section
+IFS='=';
+while read name value; do
+ if [ "$name" = "perwindow_group" ]; then
+ if [ "$value" = "true" ]; then
+ echo "group_scope=2"
+ else
+ echo "group_scope=0"
+ fi
+ echo "# DELETE perwindow_group"
+ else
+ echo "$name=$value"
+ fi
+done