summaryrefslogtreecommitdiffstats
path: root/shell/list-panel.sh
diff options
context:
space:
mode:
Diffstat (limited to 'shell/list-panel.sh')
-rwxr-xr-xshell/list-panel.sh8
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" " "