not quite so much needs to be delayed to the init() function
[personal-kdebase.git] / workspace / kwin / data / kwin_window_shortcuts.sh
blob11b7c8e7b3aa6681a0ab4783ef6dbec2510719b0
1 #! /bin/sh
2 # remove <number>=<shortcuts> lines for per-window shortcuts that are not supposed to be saved
3 while read line; do
4 if echo "$line" | grep '^[0-9]\+=' >/dev/null 2>/dev/null; then
5 key=`echo "$line" | sed 's/^\([0-9]\+\)=.*$/\1/'`
6 echo '# DELETE [kwin]'$key
7 else
8 echo "$line"
9 fi
10 done