wok-current rev 16719

open-folder-menu.sh: fix open users home folder
author Richard Dunbar <mojo@slitaz.org>
date Sun Jun 01 11:42:05 2014 +0000 (2014-06-01)
parents 88c057127e4a
children 094fdfff5b84
files openbox/stuff/open-folder-menu.sh
line diff
     1.1 --- a/openbox/stuff/open-folder-menu.sh	Sun Jun 01 17:53:40 2014 +0000
     1.2 +++ b/openbox/stuff/open-folder-menu.sh	Sun Jun 01 11:42:05 2014 +0000
     1.3 @@ -4,7 +4,7 @@
     1.4  #
     1.5  echo '<openbox_pipe_menu>'
     1.6  
     1.7 -bookmarks="~ $(whoami)
     1.8 +bookmarks="#$(whoami)
     1.9  ~/Desktop $(gettext gtk20 Desktop)
    1.10  $(cat ~/.gtk-bookmarks)"
    1.11  
    1.12 @@ -12,7 +12,7 @@
    1.13  '
    1.14  for dir in $bookmarks; do
    1.15  	cat << EOT
    1.16 -	<item label="$(echo $dir | sed 's|^[^ ]* ||')">
    1.17 +	<item label="$(echo $dir | sed -e 's|^[^ ]* ||' -e 's|#||')">
    1.18  		<action name="Execute">
    1.19  			<execute>file-manager $(echo $dir | awk '{print $1}')</execute>
    1.20  		</action>