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: by default, pipx is not required on Arch Linux and its derivatives if you run setup.sh install without specifying the --force-pypi flag (more information below).

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 will check if all required dependencies are available in your system and will guide you through the setup process.

For all distributions except Arch Linux (and distros based on it), the setup.sh install command will install the KSteamTrayIcon PyPI package using pipx.

For Arch Linux and Arch-based distro, the setup.sh install command defaults to install the KSteamTrayIcon AUR package, which doesn't require pipx at all. If, for whatever reason, you prefer to install the package from PyPI instead, just use the setup.sh install-from-pypi command:

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ksteamtrayicon-1.0.5.post1.tar.gz
Algorithm Hash digest
SHA256 cab551b2703ea9ff0895e28d197f5cadff64a22386cc194a1af5453310c32281
MD5 70c97fdb4d56d0dcb067e0f066da3226
BLAKE2b-256 ce1fb6137916868563dc77270275ac078b5e337ebfd328a58de7994c876fc66c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ksteamtrayicon-1.0.5.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 1a9de6c67f58f626e8c681c259c82290530160cd696da06b246fd248bedb3d81
MD5 aea2b8facce87de30807e64436b40e7f
BLAKE2b-256 a8b79367ffc0a7e35ae8d04f0633aba486061610e4251d95f7739b29b9b18752

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