Skip to main content

Updates the Steam tray icon to match the current Plasma color scheme.

Project description

KSteamTrayIcon

KSteamTrayIcon is a small Python background application for KDE Plasma 6 that keeps the Steam tray icon in sync with the desktop color scheme.

How does it work?

By default, Steam displays a tray icon that looks fine on dark panels, but is hard to see on light Plasma themes.

The application listens for changes on the current desktop color scheme and then acts as follows:

  • if it detects that the current theme has a light color scheme, it overrides the default Steam tray icon by placing a dark-colored variant in $HOME/.local/share/icons/steam_tray_mono.png.
  • if it detects that the current theme has a dark color scheme, it removes the dark-colored file, which prompts Steam to change its tray icon back to the default light-colored one.

Requirements

  • KDE Plasma 6
  • Python 3
  • dbus-next (python library)
  • pipx*

Note: pipx is only required when installing KSteamTrayIcon from PyPI. Installing it from the AUR (on Arch Linux and its derivatives) does not require pipx (check the Install section below for more details).

Install

First, check the contents of setup.sh and if everything seems ok for you, simply run the following command:

curl -fsSL https://raw.githubusercontent.com/marcotuliomatos/ksteamtrayicon/main/setup.sh | bash -s -- install

The installation script checks whether all required dependencies are available on your system and guides you through the setup process.

On all distributions except Arch Linux and its derivatives, setup.sh install installs the KSteamTrayIcon PyPI package using pipx.

On Arch Linux and Arch-based distributions, setup.sh install defaults to installing the KSteamTrayIcon AUR package, which does not require pipx. If, for whatever reason, you would prefer to install the package from PyPI instead, use setup.sh install-from-pypi:

curl -fsSL https://raw.githubusercontent.com/marcotuliomatos/ksteamtrayicon/main/setup.sh | bash -s -- install-from-pypi

Uninstall

Check the contents of setup.sh and if everything seems ok for you, simply run the following command:

curl -fsSL https://raw.githubusercontent.com/marcotuliomatos/ksteamtrayicon/main/setup.sh | bash -s -- uninstall

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

ksteamtrayicon-1.0.5.post4.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

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

ksteamtrayicon-1.0.5.post4-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

Details for the file ksteamtrayicon-1.0.5.post4.tar.gz.

File metadata

  • Download URL: ksteamtrayicon-1.0.5.post4.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for ksteamtrayicon-1.0.5.post4.tar.gz
Algorithm Hash digest
SHA256 77c5aef9133eaeeb645d90bdd0c971574921f83bd9b225dd30f4a314aaf77f8d
MD5 1ca4c361fadc2ba638afb98657594633
BLAKE2b-256 60a4b383871938c2d2df7896adfe3a41d623b3b24f2e290b91e4f9cc593af458

See more details on using hashes here.

File details

Details for the file ksteamtrayicon-1.0.5.post4-py3-none-any.whl.

File metadata

File hashes

Hashes for ksteamtrayicon-1.0.5.post4-py3-none-any.whl
Algorithm Hash digest
SHA256 9e914ce5389c78a779bb5ce6416ba6fc5f22e5be9f71e2a31655b98e9b8584bb
MD5 24b20a5138fb993488bd93a93bc33c3d
BLAKE2b-256 d6c58dcdc9f2b6844cd0dd0f6e036ccd4442332230d366d0265f53570bada3a2

See more details on using hashes here.

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