summaryrefslogtreecommitdiffstats
path: root/shell/list-panel.sh
blob: cf31eaee7bbecb18f27ef7f9b53cfea91e8b5f5e (plain)
1
2
3
4
5
6
7
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" " "