Skip to main content

Tray app to control Devilbox (start/stop containers) from any SNI system tray.

Project description

Devilbox Tray

Small tray app to control Devilbox from any StatusNotifierItem system tray: start / stop / restart containers, see their status, open the intranet. Think WAMP's Aestan Tray, but for Linux.

Works with Noctalia, Waybar, KDE, GNOME (with the AppIndicator extension), etc. — Wayland and X11. Auto-configuring, multilingual, single-instance.

Install

Arch / CachyOS (AUR)

yay -S devilbox-tray

Any distro (pipx — recommended)

pipx install devilbox-tray            # from PyPI
# or, from a clone:
pipx install .

With pip

pip install --user devilbox-tray

The only runtime dependency is PySide6 (pulled automatically), plus a working Docker with docker compose.

First run

devilbox-tray

On first launch the app auto-detects the Devilbox folder, the compose command and the services. If nothing is found, the Settings panel opens so you can pick the folder. Everything is saved to ~/.config/devilbox-tray/config.json and editable from the app.

Usage

  • Left-click the icon: show / hide the window.
  • Right-click: menu (Start / Stop / Restart / Intranet / Quit).
  • Icon color: green = all running, orange = partial, red = stopped.
  • The in the window header hides it to the tray; use Quit to exit.

Autostart

Hyprland — in ~/.config/hypr/hyprland.conf:

exec-once = sleep 2 && devilbox-tray

Other (systemd user service) — create ~/.config/systemd/user/devilbox-tray.service:

[Unit]
Description=Devilbox Tray
PartOf=graphical-session.target
After=graphical-session.target

[Service]
ExecStart=%h/.local/bin/devilbox-tray
Restart=on-failure

[Install]
WantedBy=graphical-session.target

then systemctl --user enable --now devilbox-tray.service.

Translations

Languages live as JSON files in devilbox_tray/locales/. To add a language, copy en.json to <code>.json (e.g. it.json), translate the values, and set "_name" to the display name. It appears automatically in the Settings language menu — no code change needed. Bundled: English, Français, Español, Deutsch.

Packaging notes

  • pyproject.toml (hatchling) builds a wheel; locale JSON files ship inside the package and are read via importlib.resources.
  • PKGBUILD builds that wheel and installs the .desktop entry + icon for the AUR.
  • For a self-contained binary instead, pyinstaller --onefile --windowed -n devilbox-tray devilbox_tray/app.py works, but bundling PySide6 is large (~150 MB); the wheel/AUR route is lighter and preferred.

License

MIT.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

devilbox_tray-1.0.0.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

devilbox_tray-1.0.0-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

Details for the file devilbox_tray-1.0.0.tar.gz.

File metadata

  • Download URL: devilbox_tray-1.0.0.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for devilbox_tray-1.0.0.tar.gz
Algorithm Hash digest
SHA256 39cecc5ad1c81e2a47b9a90db82a6aa8bf7ee13493fc52803aa41da3c67b3006
MD5 c281859026b90c758ead21282a76f944
BLAKE2b-256 8d9ed4a898f69582a8a5b4735573df500b465a2f686ff3fc9de86ca0f27eb9c6

See more details on using hashes here.

Provenance

The following attestation bundles were made for devilbox_tray-1.0.0.tar.gz:

Publisher: release.yml on Thentik/devilbox-tray

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file devilbox_tray-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: devilbox_tray-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 14.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for devilbox_tray-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 69ad4d033aafd592f1e418260d3fd03680fd881803f20784fdb8354477543a4b
MD5 dc9c94712cbc0097c7abe43cb2493817
BLAKE2b-256 bd1bb4929ac2a964465ad6d6c7683069e540001e91cc978edf0bac32ca8c30fa

See more details on using hashes here.

Provenance

The following attestation bundles were made for devilbox_tray-1.0.0-py3-none-any.whl:

Publisher: release.yml on Thentik/devilbox-tray

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page