Your first Lunacy plugin in Python!
- Install dependencies:
pip install -r requirements.txt- Test directly:
python3 hello.py- Copy to Lunacy plugins directory:
Linux:
cp -r . ~/.local/share/Icons8/Lunacy/Plugins/hello-world-pythonWindows:
xcopy /E /I . %LOCALAPPDATA%\Icons8\Lunacy\Plugins\hello-world-pythonmacOS:
cp -r . ~/Library/Application\ Support/Icons8/Lunacy/Plugins/hello-world-python- Restart Lunacy
- Open Lunacy
- Go to Plugins menu
- Click Hello World (Python) → Say Hello
- You should see a toast notification!
This simple plugin shows a toast notification with a "Hello World" message.
Check out the Quick Start Guide for more features like:
- Working with selected layers
- Modifying layer properties
- Exporting layers