stylix icon indicating copy to clipboard operation
stylix copied to clipboard

zotero: add target

Open zacharyweiss opened this issue 6 months ago • 2 comments

I assert that this feature request is relevant for Stylix

Description

Howdy!

Zotero is a paper / citation manager, with the desktop app built in React. They use a config directory / profile system that mirrors Firefox's, and users mention the ability to theme it with userChrome.css. Looking at the firefox module here, it seems y'all use the firefox-colors addon rather than userChrome directly (save for the gnome theme option); do you know if such an approach would port over well? Would there be a nice way to extend the current firefox/librefox/etc generally to other apps that share this config/profile approach, but that may lack an HM module?

zacharyweiss avatar Jun 11 '25 12:06 zacharyweiss

do you know if such an approach would port over well?

This depends on whether Zotero is just using the same layout for its config files, or if there are further similarities.

Would there be a nice way to extend the current firefox/librefox/etc generally to other apps that share this config/profile approach, but that may lack an HM module?

Ideally the app would be supported in Home Manager before we add support for it - if the config format is the same then it should be able to share a lot of code with their existing Firefox module, but that would need to be implemented upstream.

danth avatar Jun 14 '25 02:06 danth

Thanks for the input; makes sense! If other desired targets which seem to follow the same structure crop up, I'll look into writing some generalized approach upstream.

zacharyweiss avatar Jun 14 '25 16:06 zacharyweiss