Openbox:Pipemenus:gtk-bookmarks
From Openbox
Revision as of 18:20, 28 February 2018 by Spoiledbroth (Talk | contribs)
Originally appeared on the david.chalkskeletons.com/scripts/ repository.
Retrieved from the depths of the Wayback Machine
#!/bin/bash echo '<openbox_pipe_menu>' filemanager="nautilus" for bookmark in `sed 's/[ ][^ ]*$//' .gtk-bookmarks ` ; do echo '<item label="'`basename ${bookmark}`'">' echo '<action name="Execute"><execute>' echo "$filemanager ${bookmark}" echo '</execute></action>' echo '</item>' done echo '</openbox_pipe_menu>'