X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=cards%2Fwidgets.sh;h=76057a6a61f6968cc6b40b9bd05b162745ec69d1;hp=5a80ae71ca127ad66e65c6c1f686659d1eceed45;hb=516b1d6b0427b42924a60bd63ed48d8087a9e4e8;hpb=d5fb0b81bce3f19153b9c74f4bc17fe7a3043a7c 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 <