wok-6.x view pekwm/stuff/scripts/pekwm-freedesktop-menu.sh @ rev 21227
updated libgpod and libgpod-dev (0.7.94 -> 0.8.3)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 10 17:10:11 2019 +0100 (2019-04-10) |
parents | |
children |
line source
1 #!/bin/sh
2 #
3 # Freedesktop standard Dynamic menu for PekWM. Look into all files
4 # into /usr/share/applications and display Entry with Exec, no icons
5 # to speed-up menu generation. Created for SliTaz GNU/Linux project.
6 #
8 echo "Dynamic {"
9 for app in /usr/share/applications/*
10 do
11 name=`grep ^Name= $app | sed s/Name=//`
12 exec=`grep ^Exec= $app | sed s/Exec=//`
13 echo " Entry = \"$name\" { Actions = \"Exec $exec\" }"
14 done
15 echo "}"