X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=cards%2Fwidgets.sh;h=59b6a054c3cf662040038e11152945a8e30572b0;hb=444462594b41e81946546c1376ef1c06e0c414f8;hp=5a80ae71ca127ad66e65c6c1f686659d1eceed45;hpb=d5fb0b81bce3f19153b9c74f4bc17fe7a3043a7c;p=confetti diff --git a/cards/widgets.sh b/cards/widgets.sh index 5a80ae7..59b6a05 100755 --- a/cards/widgets.sh +++ b/cards/widgets.sh @@ -15,28 +15,31 @@ # 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 <