diff options
Diffstat (limited to '')
-rwxr-xr-x | shell/list-panel.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/shell/list-panel.sh b/shell/list-panel.sh new file mode 100755 index 0000000..cf31eae --- /dev/null +++ b/shell/list-panel.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +LIST="" +for i in $1/panels/*/gnome-*panel.desktop.in.in $1/panels/*/data/gnome-*panel.desktop.in.in; do + basename=`basename $i` + LIST="$LIST `echo $basename | sed 's/gnome-//' | sed 's/-panel.desktop.in.in/ /'`" +done +echo -n $LIST | tr " " "\n" | sort | tr "\n" " " |