Skip to content

Events window themes

wiki auto updater edited this page Apr 19, 2022 · 1 revision

Events window themes

Starting from version v1.5.1, OpenSnitch GUI can be customized with themes. You'll need to install the package qt-material with pip:

$ python3 -m pip install qt-material

image

From the Preferences dialog, click on the UI tab:

image

After installing qt-material, restart the GUI, and you'll be able to select a theme:

image

Select a theme, and restart the GUI to apply the changes:

image

How to create your own theme

OpenSnitch will let you select the themes shipped by default with qt-material and the ones located under ~/.config/opensnitch/ with extension .xml

For example, you can copy a theme to that directory: $ cp .local/lib/python3.9/site-packages/qt_material/themes/dark_red.xml .config/opensnitch/my-dark-theme.xml

The new theme should appear after restarting the GUI. Then you can open it and customize the colors.

Learn more: https://github.com/UN-GCPDS/qt-material#custom-colors

You can customize more options than just the colors, but it's not implemented yet. Open a new issue asking for it please.

Clone this wiki locally