Repository navigation
Prasmoid v0.0.3
Whats new
Features
- Added
regencommand to regenerateprasmoid.d.tsandprasmoid.config.jsif lost or modified. - Internationalization (i18n) Support:
Suggested by this awesome community memberi18n extract: Extracts translatable strings from metadata and QML files.i18n compile: Compiles.pofiles into binary.moformat for use in plasmoids.i18n locales edit: Adds or removes locales from your plasmoid.
- Extended Configuration System:
- The
prasmoid.config.jsnow supports:i18n.locales: Define supported locale codes (e.g.,en,fr,pt_BR, etc.)i18n.dir: Specify your translation directory
- The
Enhancements
-
buildcommand now auto-compiles translations before packaging. -
initcommand now allows interactive locale selection, auto-generating localizedmetadata.jsonentries. -
CLI version checking has been refined with smarter, more accurate version comparisons.
-
Various commands have been tightened up for performance and usability.
-
Renamed
deps➜constsfor cleaner architecture and more intuitive constant management.
Build Variants
1. Standard CLI (CGO Enabled)
- Build Type: Native
- CGO: Enabled
- Use Case: Recommended for most Linux distributions like Ubuntu, Fedora, Arch, Debian, etc.
- Pros: Better integration with system libraries and potentially faster execution.
- Note: Requires a working
glibcsetup and basic dev environment.
2. Portable CLI (CGO Disabled)
- Build Type: Fully Static
- CGO: Disabled
- Use Case: Ideal for minimal environments such as NixOS, Alpine Linux, or containers without a C toolchain.
- Pros: Higher portability, no system dependencies.
- Note: Some system integrations may not work if CGO features are required.