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