wok view rox-filer/stuff/rox-open-folder-menu.sh @ rev 11398
Compat: squirrelmail trigger cook of squirrelmail-* only when using cookutils - I don't think this piece of code is needed at all as squirrel-* will be cooked anyway if one update them
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Dec 10 13:19:00 2011 +0100 (2011-12-10) |
parents | |
children |
line source
1 #!/bin/sh
2 #
3 # Openbox pipe menu to launch rox-filer using GTK bookmarks.
4 #
6 echo '<openbox_pipe_menu>'
8 # Home
9 echo '<item label="Home">'
10 echo '<action name="Execute"><execute>'
11 echo "rox-filer ~"
12 echo '</execute></action></item>'
16 # GTK bookmarks
17 for dir in `sed 's/[ ][^ ]*$//' .gtk-bookmarks | sed 's!file://!!'`
18 do
19 echo '<item label="'`basename $dir`'">'
20 echo '<action name="Execute"><execute>'
21 echo "rox-filer $dir"
22 echo '</execute></action></item>'
23 done
25 echo '</openbox_pipe_menu>'