From d919e9801a51e6f6e4584b1332169b2622a02147 Mon Sep 17 00:00:00 2001 From: germedeb Date: Sat, 10 Sep 2022 19:58:55 -0300 Subject: [PATCH] made a rewrite of icon count in fish, and made it accurate --- tasks/aletaiconcount.fish | 42 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 tasks/aletaiconcount.fish diff --git a/tasks/aletaiconcount.fish b/tasks/aletaiconcount.fish new file mode 100644 index 0000000..ff7cc21 --- /dev/null +++ b/tasks/aletaiconcount.fish @@ -0,0 +1,42 @@ +#!/usr/bin/fish + +# SPDX-FileCopyrightText: 2022 debgerme +# +# SPDX-License-Identifier: GPL-3.0-or-later + + +# show total +set_color -o brgreen; printf "Total: " +set_color normal; find icons -depth -iname \*.svg | wc -l + +printf "───────────────\\n" + +set_color -o brblue; printf "Actions: " +set_color normal; find icons/apps* -depth -iname \*.svg | wc -l + +set_color -o brblue; printf "Animations: " +set_color normal; find icons/animations* -depth -iname \*.svg | wc -l + +set_color -o brblue; printf "Apps: " +set_color normal; find icons/apps* -depth -iname \*.svg | wc -l + +set_color -o brblue; printf "Categories: " +set_color normal; find icons/categories* -depth -iname \*.svg | wc -l + +set_color -o brblue; printf "Devices: " +set_color normal; find icons/devices* -depth -iname \*.svg | wc -l + +set_color -o brblue; printf "Emblems: " +set_color normal; find icons/emblems* -depth -iname \*.svg | wc -l + +set_color -o brblue; printf "Mimetypes: " +set_color normal; find icons/mimetypes* -depth -iname \*.svg | wc -l + +set_color -o brblue; printf "Places: " +set_color normal; find icons/places* -depth -iname \*.svg | wc -l + +set_color -o brblue; printf "Status: " +set_color normal; find icons/status* -depth -iname \*.svg | wc -l + +set_color -o brblue; printf "Ui: " +set_color normal; find icons/ui* -depth -iname \*.svg | wc -l