wok-6.x annotate openbox/stuff/open-folder-menu.sh @ rev 2075
Add: xfdesktop, xfprint*, xfwm4, xfwm4-themes
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri Jan 23 23:10:35 2009 +0100 (2009-01-23) |
parents | |
children | 372dd84badab |
rev | line source |
---|---|
pankso@684 | 1 #!/bin/sh |
pankso@684 | 2 # |
pankso@684 | 3 # Openbox pipe menu to launch PCmanFM using GTK bookmarks. |
pankso@684 | 4 # |
pankso@684 | 5 |
pankso@684 | 6 echo '<openbox_pipe_menu>' |
pankso@684 | 7 |
pankso@684 | 8 # Home |
pankso@684 | 9 echo '<item label="Home">' |
pankso@684 | 10 echo '<action name="Execute"><execute>' |
pankso@684 | 11 echo "pcmanfm ~" |
pankso@684 | 12 echo '</execute></action></item>' |
pankso@684 | 13 |
pankso@684 | 14 # ~/Desktop |
pankso@684 | 15 echo '<item label="Desktop">' |
pankso@684 | 16 echo '<action name="Execute"><execute>' |
pankso@684 | 17 echo "pcmanfm ~/Desktop" |
pankso@684 | 18 echo '</execute></action></item>' |
pankso@684 | 19 |
pankso@684 | 20 # GTK bookmarks |
pankso@684 | 21 for dir in `sed 's/[ ][^ ]*$//' .gtk-bookmarks` |
pankso@684 | 22 do |
pankso@684 | 23 echo '<item label="'`basename $dir`'">' |
pankso@684 | 24 echo '<action name="Execute"><execute>' |
pankso@684 | 25 echo "pcmanfm $dir" |
pankso@684 | 26 echo '</execute></action></item>' |
pankso@684 | 27 done |
pankso@684 | 28 |
pankso@684 | 29 echo '</openbox_pipe_menu>' |