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:

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ksteamtrayicon-1.0.5.post3.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.post3.tar.gz
Algorithm Hash digest
SHA256 2668cecd3557cd0831a64ebf839e462e2de3cc70597c7b6277213cb296dab9fe
MD5 200759a9c4a01b3faece4763c9d016a0
BLAKE2b-256 2e9646c4db798e42b44ac3cc8b1163a3f948ca0a4ef6826f54db738718c10705

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ksteamtrayicon-1.0.5.post3-py3-none-any.whl
Algorithm Hash digest
SHA256 7deed0b9280bd6b43ca6984d2f19b52a79e121c24bb544b30e16103b8dab5055
MD5 11e25914a6eb9189c813f8f78895aa2e
BLAKE2b-256 d4e13105fcdc16a1ef058adcc24e97aac7ef2f0563275f664b3f0e8bc0099f71

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