Skip to main content

Automatic Material You Colors Generator from your wallpaper for the Plasma Desktop

Project description

🎨 KDE Material You Colors

plasmoid screenshot

Automatically generate Light/Dark Color Themes for KDE (and pywal if installed) from your current wallpaper, using Python implementation of Google's Material Color Utilities

made with python badge latest version badge

Screenshots

Features

Plasma specific

  • Plasma Widget
  • Support for all Wallpaper plugins (color, image, slideshows, animated, Plasma 5.26+ dark wallpaper variants)
  • Update automatically on wallpaper change
  • Change icon themes
  • Start automatically on login
  • Make titlebar darker to match specified applications like terminals, code editors and other programs themed by pywal
  • Follow Plasma Material You Dark/Light change to work with theme schedulers like Koi
  • Plasma addons

Themeable programs

  • Konsole color scheme
    • opacity control
  • Pywal support to theme other programs using Material You Colors
  • Basic KSyntaxHighlighting support (Kate, KWrite, KDevelop...)

Theming options

  • Alternative Material You color selection if the wallpaper provides more than one
  • Use your favorite color to generate Material You color schemes
  • Custom colors list used for konsole/pywal
  • Custom amount for background color tint
  • Dark/light Color schemes (Plasma and pywal/konsole independently)
  • Set a script/command that will be executed on start or wallpaper/dark/light/settings change
  • Configuration file

Installing

Plasma widget

Install from the KDE Store

  1. Right click on panel > Add Widgets > Get New Widgets > Download New Plasma Widgets
  2. Search for "KDE Material You Colors"

Backend (MANDATORY)

Using pypi with pipx (recommended) or pip

pipx install kde-material-you-colors
# Optional
# pywal to theme other programs using Material You Colors
pipx install pywal

Arch Linux

  • AUR use your preferred AUR helper

Optional features

Running from terminal to debug your configuration

  • Run kde-material-you-colors

  • Flags take precedence over configuration file, run kde-material-you-colors -h to see the list of available options

Starting/Stopping Desktop entries

If not installed by your package manager, run kde-material-you-colors -cl to copy desktop entries to ~/.local/share/applications/

  • To start the program launch KDE Material You Colors from your applications list
  • To stop it launch Stop KDE Material You Colors from your applications list

Running on Startup

After finishing the setup, you can make it run automatically on boot

  1. Copy the default configuration to ~/.config/kde-material-you-colors/config.conf:

    kde-material-you-colors -c

  2. Set the program to automatically start with Plasma:

    kde-material-you-colors -a

  3. Reboot or logout/login and test the changes

Removing from autostart

  1. Open System Settings > Startup and Shutdown
  2. Remove kde-material-you-colors by clicking on the - button.

Configuration file

  • Copy default configuration: run kde-material-you-colors -c
  • Edit ~/.config/kde-material-you-colors/config.conf
  • Run kde-material-you-colors with no arguments from terminal to test it.
  • You can view the sample configuration file here

Notes

  • To update color with plasma-apply-colorscheme (utility provided by plasma developers), the file containing the new color scheme must have a different name than the current one, to workaround this the program creates two scheme files with different names, then applies one after the other. As a result you end up with duplicated color schemes and maybe some lag while updating schemes.

  • The wallpaper is obtained in the following order:

Bug reporting / Feature requests / Contributing

Please read the Contributing guidelines in this repository

Thanks & Credits

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

kde-material-you-colors-1.7.0.tar.gz (59.0 kB view hashes)

Uploaded Source

Built Distribution

kde_material_you_colors-1.7.0-py3-none-any.whl (65.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page