wok diff rox-filer/stuff/rox-open-folder-menu.sh @ rev 22040

updated tokyocabinet and tokyocabinet-dev (1.4.32 -> 1.4.48)
author Hans-G?nter Theisgen
date Mon Oct 21 17:24:12 2019 +0100 (2019-10-21)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/rox-filer/stuff/rox-open-folder-menu.sh	Mon Oct 21 17:24:12 2019 +0100
     1.3 @@ -0,0 +1,25 @@
     1.4 +#!/bin/sh
     1.5 +#
     1.6 +# Openbox pipe menu to launch rox-filer using GTK bookmarks.
     1.7 +#
     1.8 +
     1.9 +echo '<openbox_pipe_menu>'
    1.10 +
    1.11 +# Home
    1.12 +echo '<item label="Home">'
    1.13 +echo '<action name="Execute"><execute>'
    1.14 +echo "rox-filer ~"
    1.15 +echo '</execute></action></item>'
    1.16 +
    1.17 +
    1.18 +
    1.19 +# GTK bookmarks
    1.20 +for dir in `sed 's/[ ][^ ]*$//' .gtk-bookmarks | sed 's!file://!!'`
    1.21 +do
    1.22 +	echo '<item label="'`basename $dir`'">'
    1.23 +	echo '<action name="Execute"><execute>'
    1.24 +	echo "rox-filer $dir"
    1.25 +	echo '</execute></action></item>'
    1.26 +done
    1.27 +
    1.28 +echo '</openbox_pipe_menu>'