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 not required on Arch Linux and its derivatives if you run the install.sh script with its default parameters (more information below).

Installation

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

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

This installation script will check if the required dependencies are available in your system and will guide you through the setup process.

For users of all distributions except Arch Linux (and distros based on it), the script will install the KSteamTrayIcon package available in PyPI, using pipx.

For those using Arch Linux or any Arch-based distro, the script 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, make sure pipx is installed, then run install.sh with the --force-pypi flag.

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

Uninstallation

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

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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ksteamtrayicon-1.0.5.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.tar.gz
Algorithm Hash digest
SHA256 a60bbf3bb420f917ef35d751df7a7fe43bffd37378b1682b377e5f08e852219b
MD5 6bd5d520b3f8b7d0ea00467739c77834
BLAKE2b-256 df68098d06af91dcf44816a88898f4079ab16f5aae4a653fdd852edaf59aaaa4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ksteamtrayicon-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 12.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for ksteamtrayicon-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6c66ee65cef5a3af6f6a9818b91bec4f215b74cc2688a04c2a41ade31735487a
MD5 7320432e13274b5f3314689bc939c03c
BLAKE2b-256 92aa4aeed050dd62b8914a35d32aac6bea1f2a9e721092dfe57746f1db9b9362

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