wok-6.x annotate rox-filer/stuff/rox-open-folder-menu.sh @ rev 23614

updated redis (2.8.19 -> 5.0.8)
author Hans-G?nter Theisgen
date Tue Apr 14 07:29:26 2020 +0100 (2020-04-14)
parents
children
rev   line source
sygne@998 1 #!/bin/sh
sygne@998 2 #
sygne@998 3 # Openbox pipe menu to launch rox-filer using GTK bookmarks.
sygne@998 4 #
sygne@998 5
sygne@998 6 echo '<openbox_pipe_menu>'
sygne@998 7
sygne@998 8 # Home
sygne@998 9 echo '<item label="Home">'
sygne@998 10 echo '<action name="Execute"><execute>'
sygne@998 11 echo "rox-filer ~"
sygne@998 12 echo '</execute></action></item>'
sygne@998 13
sygne@998 14
sygne@998 15
sygne@998 16 # GTK bookmarks
sygne@998 17 for dir in `sed 's/[ ][^ ]*$//' .gtk-bookmarks | sed 's!file://!!'`
sygne@998 18 do
sygne@998 19 echo '<item label="'`basename $dir`'">'
sygne@998 20 echo '<action name="Execute"><execute>'
sygne@998 21 echo "rox-filer $dir"
sygne@998 22 echo '</execute></action></item>'
sygne@998 23 done
sygne@998 24
sygne@998 25 echo '</openbox_pipe_menu>'