Categorizer
Categorizes files based on their extensions and metadata
LLA Categorizer Plugin
Categorize files by extension with optional hierarchy.
Features
- Categorization by extension with colors
- Categories and subcategories
- Size rules and stats
- Configurable categories, colors, rules
Default Categories
Documents
- Color: bright_blue
- Extensions: txt, md, doc, docx, pdf, rtf, odt
- Subcategories:
- Text: txt, md
- Office: doc, docx, xls, xlsx, ppt, pptx
Code
- Color: bright_cyan
- Extensions: rs, py, js, ts, java, c, cpp, h, hpp, go, rb, php
- Subcategories:
- Systems: rs, c, cpp, h, hpp
- Web: js, ts, html, css, php
- Scripts: py, rb, sh, bash
Usage
# Add category
lla plugin --name categorizer --action add-category --args "Images" "yellow" "jpg,png,gif"
# Add subcategory
lla plugin --name categorizer --action add-subcategory --args "Images" "Raster" "jpg,png,gif"
# List categories
lla plugin --name categorizer --action list-categories
Configuration
Config file: ~/.config/lla/plugins/categorizer/config.toml
- Category definitions and mappings
- Size rules and subcategories
- UI color schemes
Display Formats
- default:
[Documents]
- long:
[Documents] (Text)