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.1.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.1-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: devilbox_tray-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 3e329133eb56b97f17d3dc8fd21fc765134bedcb5637a4406782bf3f822b9911
MD5 4496380b0247eccb79fc9640d9ca935f
BLAKE2b-256 9e639cd53bd5b1bc70cfbd34967b49224cbeb18a9c77ebff76bfc9899905bf0f

See more details on using hashes here.

Provenance

The following attestation bundles were made for devilbox_tray-1.0.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: devilbox_tray-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 58105890adef5406339e6ffd2c58bec87c81dee552297f3ad7994e5290b9a15d
MD5 bcadd5c22e27bb98643e896c58208d36
BLAKE2b-256 174be65897c9c1ebd60573377b0220c1d53a22ceeadc3ff1014fe35de2257829

See more details on using hashes here.

Provenance

The following attestation bundles were made for devilbox_tray-1.0.1-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