-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add Opacity Slider extension #676
Conversation
Are you able to setup a virtual machine or use a live USB ISO? Both are common strategies for testing changes without affecting your current system.
There is a script in the root of the repository to assist with that ( $ ./validate-spice [email protected] (or opacity-slider@neatnit) Feel free to reach out if you need anything explained further. |
Thanks for marking as draft, I couldn't find the option.
Unfortunately no, I have pretty much no free space right now. I should clarify, I'm running the latest stable Mint, but I know a new release is coming up soon and that's the one I can't test. The domain is mine, it's just not used for anything at the moment. If it's really not okay to use it in this state, I'll change it. |
There are no major breaking changes in Cinnamon so I would expect this to continue working. If anything does come up, we can address it when the time comes.
The current convention is to have the UUID be |
Alright, I think it's done
Right, I think I figured this out as I was writing this, but it was a bit confusing. I hope I got it right. There's one string that needs to be translated in the code: cinnamon-spices-extensions/opacity-slider@neatnit/files/opacity-slider@neatnit/extension.js Lines 86 to 88 in 6097bea
Is it correct to use
PS. what threw me off is that apparently my |
You still need to define the function and import the
It's technically an optional parameter so it should be crashing. The script was updated recently so this might be an oversight. I can take a look at that separately. |
Can you give me a specific extension example to copy? I'm not familiar with the whole thing, it's a bit confusing. |
Okay, I'm pretty sure I did it right this time. I tested with a stupid |
Congrats on getting this done! |
Add new extension: Opacity Slider. I should have done this a year ago, it was ready then. (https://github.com/NeatNit/cinnamon-opacity-slider)
To do before merge:
Hope this will be accepted! I had to basically hijack the menu building function in order to add my custom entry. Perhaps in future versions of Cinnamon there should be a proper way of adding menu items.
All feedback welcome.