diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:45:20 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:45:20 +0000 |
commit | ae1c76ff830d146d41e88d6fba724c0a54bce868 (patch) | |
tree | 3c354bec95af07be35fc71a4b738268496f1a1c4 /shell/list-panel.sh | |
parent | Initial commit. (diff) | |
download | gnome-control-center-ae1c76ff830d146d41e88d6fba724c0a54bce868.tar.xz gnome-control-center-ae1c76ff830d146d41e88d6fba724c0a54bce868.zip |
Adding upstream version 1:43.6.upstream/1%43.6upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'shell/list-panel.sh')
-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" " " |