#How dumb is it to edit the JS file of a Cinnamon desklet?

4 messages · Page 1 of 1 (latest)

polar moth
#

I want to add a little personized feature to a clock desklet that i use. Is it a bad idea to edit the JavaScript code that cinnamon runs? (iirc its in /home/coby/.local/cinnamon/desklets)

When the desklet updates, will it simply overwrite my changes? Will it cause it to crash? Or will it fail to update? Are there other concerns i should have?

The feature in question is that i want month days to have suffixs. For example, instead of "Jan 8" i want it to be "Jan 8th"

kindred obsidian
torpid obsidian
# polar moth I want to add a little personized feature to a clock desklet that i use. Is it a...

The main issue is that it will be overridden on update. Ideally you should try to make a Pull Request to https://github.com/linuxmint/cinnamon-spices-desklets for your change to be upstreamed if the maintainer/author accepts your change, or maintain a local personalized version of yours with a different uuid to avoid it being overriden.

GitHub

Desklets for the Cinnamon desktop. Contribute to linuxmint/cinnamon-spices-desklets development by creating an account on GitHub.

polar moth
#

I'll look into KVM and create a backup file