X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=cards%2Fwidgets.sh;h=76057a6a61f6968cc6b40b9bd05b162745ec69d1;hb=e090b8bd26739537e895d60b931f82b64d8db6c4;hp=5a80ae71ca127ad66e65c6c1f686659d1eceed45;hpb=d5fb0b81bce3f19153b9c74f4bc17fe7a3043a7c;p=lobster
diff --git a/cards/widgets.sh b/cards/widgets.sh
index 5a80ae7..76057a6 100755
--- a/cards/widgets.sh
+++ b/cards/widgets.sh
@@ -15,26 +15,29 @@
# You should have received a copy of the GNU Affero General Public License
# along with Confetti. If not, see .
+list_categories() {
+ grep -vxE '^[ ]*$' "${_DATA}/mappings/categories"
+}
+
w_filter_item() {
+n=$3
cat <