Step 4. Program Customization and Script Redesign

Customize Zettlr – Piztu

Zettlr allows for customization, enabling us to change the language, auto-save, dark background, etc.

For changing the language and auto-save

To activate the dark background:

Customize the Utilities

Piztu proposes a series of scripts that are useful for teaching, but the program can be perfectly adapted for other uses, such as for students, patient management by a healthcare professional, and much more. However, the default scripts proposed are very specific for teaching and classroom management.

Any user can remove the proposed scripts, modify them, or add their own. Nowadays, with the help of artificial intelligence, creating scripts is within anyone’s reach. You can use the proposed scripts as examples and modify them until you achieve the desired functionality, with the help of tools like Grok, Gemini, Claude, etc. Certainly, it will become increasingly easier to achieve the expected results.

All the proposed scripts are programmed in Python and use a graphical interface with pySide6. Remember that all scripts are saved in the .scripts subfolder of your chosen workspace. If you do not want a script to appear in the right column, simply open that folder with your operating system’s file explorer and delete it. It will automatically disappear from the column. If you wish to translate the names of the utilities, simply rename the script folders.

If you want to create new scripts, you just need to create a new folder inside the .scripts directory of your workspace. Inside this new folder, you will need to add three files:

  • The Python code file, with a .py extension.
  • The requirements.txt file, where you define the necessary Python libraries for the script.
  • The metadata.yaml file, where, besides your data and a short description, you must add the entry_point, which tells Zettlr the name of the file to execute.

For example, if the script is named temporaliza.py, the entry_point will be configured as follows:

YAML

entry_point: temporaliza.py

In any case, I will continue adapting and improving the scripts, adding new functionalities to Zettlr.

Scroll to Top