kwin/data/kwin_window_shortcuts.sh
Oswald Buddenhagen f9be59fdc3 make scripts executable
of course, make install handles that, but having it in the repo as well
is nicer

svn path=/trunk/KDE/kdebase/workspace/; revision=971905
2009-05-23 16:14:27 +00:00

10 lines
329 B
Bash
Executable file

#! /bin/sh
# remove <number>=<shortcuts> lines for per-window shortcuts that are not supposed to be saved
while read line; do
if echo "$line" | grep '^[0-9]\+=' >/dev/null 2>/dev/null; then
key=`echo "$line" | sed 's/^\([0-9]\+\)=.*$/\1/'`
echo '# DELETE [kwin]'$key
else
echo "$line"
fi
done