wok view openbox-imlib2/stuff/open-folder-menu.sh @ rev 20593

fwbuilder: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 15 23:50:50 2018 +0100 (2018-12-15)
parents f378aed899f6
children
line source
1 #!/bin/sh
2 #
3 # Openbox pipe menu to launch SpaceFM using GTK bookmarks.
4 #
6 echo '<openbox_pipe_menu>'
8 # Home
9 echo '<item label="Home">'
10 echo '<action name="Execute"><execute>'
11 echo "spacefm ~"
12 echo '</execute></action></item>'
14 # ~/Desktop
15 echo '<item label="Desktop">'
16 echo '<action name="Execute"><execute>'
17 echo "spacefm ~/Desktop"
18 echo '</execute></action></item>'
20 # GTK bookmarks
21 for dir in `sed 's/[ ][^ ]*$//' .gtk-bookmarks`
22 do
23 echo '<item label="'`basename $dir`'">'
24 echo '<action name="Execute"><execute>'
25 echo "spacefm $dir"
26 echo '</execute></action></item>'
27 done
29 echo '</openbox_pipe_menu>'