Skip to main content

System tray application for managing gamescope

Project description

Trayscope

A system tray application for managing gamescope, the SteamOS session compositing window manager.

Uses StatusNotifier D-Bus protocol for native Wayland support with waybar and other StatusNotifier-compatible bars.

Features

  • System tray integration: Start/stop gamescope from your desktop's system tray (waybar, KDE, etc.)
  • Pure Python: No GTK/Qt dependencies, just D-Bus
  • Tray menu controls: Configure resolution, refresh rate, filter, backend, and toggles directly from the tray menu
  • Single instance: D-Bus name ownership prevents duplicate instances
  • Configurable: Settings saved to ~/.config/trayscope/config.json

Installation

pip install . installs Python dependencies (including dbus-next).

pip install .

Usage

trayscope

The app will appear in your system tray (waybar tray module, KDE system tray, etc.).

Configuration

Settings are saved to ~/.config/trayscope/config.json:

{
  "render_width": 1920,
  "render_height": 1080,
  "output_width": 0,
  "output_height": 0,
  "refresh_rate": 60,
  "filter": "fsr",
  "fullscreen": true,
  "backend": "wayland",
  "force_grab_cursor": true,
  "hdr_enabled": false,
  "adaptive_sync": false,
  "gamescope_command": "",
  "extra_args": "",
  "autostart": false
}

Most settings can be changed via the tray menu. Additional notes:

  • output_width/output_height: Set to 0 for native resolution (config-only)
  • gamescope_command: Custom gamescope command, e.g. flatpak run sh.ironforge.gamescope (config-only)
  • extra_args: Additional gamescope arguments (config-only)
  • autostart: Start gamescope automatically when trayscope launches

Requirements

  • Python 3.10+
  • dbus-next
  • A StatusNotifier-compatible system tray (waybar, KDE Plasma, GNOME with AppIndicator extension)
  • gamescope (must be installed separately)

License

BSD 2-Clause License. See LICENSE for details.

Copyright (c) 2025, Omnimodular AB

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

trayscope-0.3.3.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

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

trayscope-0.3.3-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

Details for the file trayscope-0.3.3.tar.gz.

File metadata

  • Download URL: trayscope-0.3.3.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for trayscope-0.3.3.tar.gz
Algorithm Hash digest
SHA256 dc6833b3ae906ef51573f3f66873c6e0f62bfa66d0854e3b154e57e14d7a41ee
MD5 1c314201172143eae6b3554e0866693f
BLAKE2b-256 bfe917f530bfe5acceca89f370ef7dd1c13dedac79092803d86c7f06328820c2

See more details on using hashes here.

Provenance

The following attestation bundles were made for trayscope-0.3.3.tar.gz:

Publisher: python-publish.yaml on omnimodular/trayscope

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

File details

Details for the file trayscope-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: trayscope-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 17.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for trayscope-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2a752cd83a621c25444b4dbd7b0cf09028700bd1486e18579ef56a2215267d2a
MD5 3c08a34d9b7c54efa0941f46a80537e3
BLAKE2b-256 0f9c2ad6cf0d518b418250205b7dccba8b0dfc8d2e43beaae577a573aec5218b

See more details on using hashes here.

Provenance

The following attestation bundles were made for trayscope-0.3.3-py3-none-any.whl:

Publisher: python-publish.yaml on omnimodular/trayscope

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