wok diff pekwm/stuff/scripts/pekwm-freedesktop-menu.sh @ rev 20890

corrected WGET_URL in espeak recipe
author Hans-G?nter Theisgen
date Mon Feb 25 17:52:18 2019 +0100 (2019-02-25)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pekwm/stuff/scripts/pekwm-freedesktop-menu.sh	Mon Feb 25 17:52:18 2019 +0100
     1.3 @@ -0,0 +1,15 @@
     1.4 +#!/bin/sh
     1.5 +#
     1.6 +# Freedesktop standard Dynamic menu for PekWM. Look into all files
     1.7 +# into /usr/share/applications and display Entry with Exec, no icons
     1.8 +# to speed-up menu generation. Created for SliTaz GNU/Linux project.
     1.9 +#
    1.10 +
    1.11 +echo "Dynamic {"
    1.12 +for app in /usr/share/applications/*
    1.13 +do
    1.14 +	name=`grep ^Name= $app | sed s/Name=//`
    1.15 +	exec=`grep ^Exec= $app | sed s/Exec=//`
    1.16 +	echo "	Entry = \"$name\" { Actions = \"Exec $exec\" }"
    1.17 +done
    1.18 +echo "}"