diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 09a2522..3eb51cf 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.2.0" + ".": "2.0.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 76a8562..85fde93 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,29 @@ # Changelog +## [2.0.0](https://github.com/luisbocanegra/plasma-panel-colorizer/compare/v1.2.0...v2.0.0) (2025-01-11) + + +### ⚠ BREAKING CHANGES + +* Force text/icons, Unified background, Preset/global overrides now use id to address multiple instances of the same widget separately and should be reconfigured. Also widget ids are unique per panel so the setting needs to be recreated and mantained per panel + +### Features + +* "At least one window is shown" preset auto-loading condition ([d930925](https://github.com/luisbocanegra/plasma-panel-colorizer/commit/d9309259b34fd91a5b19abc756168368e380f285)) +* "Fullscreen window" preset auto-loading condition ([eba4a14](https://github.com/luisbocanegra/plasma-panel-colorizer/commit/eba4a14364de61f924e05be83773d56f58ed3c94)) +* configure action on Panel Colorizer widget click ([b2c4418](https://github.com/luisbocanegra/plasma-panel-colorizer/commit/b2c4418bf82a1585ee47e57191119814a6a78a7e)) +* support per widget instance customization ([fc94f22](https://github.com/luisbocanegra/plasma-panel-colorizer/commit/fc94f22eb63791e131a3a023eef4cf0aa8c17fed)) + + +### Bug Fixes + +* color set option not changing colors ([7a527ff](https://github.com/luisbocanegra/plasma-panel-colorizer/commit/7a527ff5ef9dfb8e7da05c2290553aa427514634)) +* disable click to edit built-in preset preview ([94a709c](https://github.com/luisbocanegra/plasma-panel-colorizer/commit/94a709cec9660dc6428bb65a645210d90362c2ca)) +* don't change the default text/icon color if disabled ([ec3bd10](https://github.com/luisbocanegra/plasma-panel-colorizer/commit/ec3bd105348d0e9d4a0940713351871cdfc9f577)) +* foreground color set option not changing colors ([2aee2d2](https://github.com/luisbocanegra/plasma-panel-colorizer/commit/2aee2d28821e2348ae641cfb9d7af81477f05f00)) +* new global override format not saving ([cc80c59](https://github.com/luisbocanegra/plasma-panel-colorizer/commit/cc80c593b3c47da2e54311b3d5eb779e8ff82eff)) +* use even spacing to avoid gaps if unified widgets feature is used ([10c3aa4](https://github.com/luisbocanegra/plasma-panel-colorizer/commit/10c3aa4345bcd2f7227db5b8ecd8657a4ada2ea8)) + ## [1.2.0](https://github.com/luisbocanegra/plasma-panel-colorizer/compare/v1.1.0...v1.2.0) (2024-11-10) diff --git a/README.md b/README.md index d082a17..7564fa5 100644 --- a/README.md +++ b/README.md @@ -42,9 +42,13 @@ Fully-featured widget to bring Latte-Dock and WM status bar customization featur * [Built-in presets](https://github.com/luisbocanegra/plasma-panel-colorizer/tree/main/package/contents/ui/presets) * Create your own presets * Preset auto-loading - * Floating panel - * Maximized window shown - * Window touching panel + * Fullscreen window + * Maximized window + * Window touching the panel + * At least one window is shown on screen + * Panel is floating + * Normal (fall-back when none of the above are meet) +* [Switch presets from the command-line using D-Bus](#switching-presets-using-the-commandline-with-d-bus) ### Panel/Widget/System Tray elements @@ -96,8 +100,14 @@ Overrides let you give a completely different configuration to one or more widge ### KDE Store -1. **Right click on the Panel** > **Add or manage widgets** > **Add new...** > **Download new...** -2. **Search** for "**Panel Colorizer**", install and add it to a Panel. +1. Install these runtime dependencies or the equivalents for your distribution + + ```txt + python python-dbus python-gobject + ``` + +2. **Right click on the Panel** > **Add or manage widgets** > **Add new...** > **Download new...** +3. **Search** for "**Panel Colorizer**", install and add it to a Panel. * ~~[Plasma 5](https://store.kde.org/p/2131149) version v0.2.0~~ **[No longer maintained](https://github.com/luisbocanegra/plasma-panel-colorizer/issues/10)** @@ -110,13 +120,13 @@ Overrides let you give a completely different configuration to one or more widge * Arch ```txt - git gcc cmake extra-cmake-modules libplasma spectacle + git gcc cmake extra-cmake-modules libplasma spectacle python python-dbus python-gobject ``` * Fedora ```txt - git gcc-c++ cmake extra-cmake-modules libplasma-devel spectacle + git gcc-c++ cmake extra-cmake-modules libplasma-devel spectacle python3 python3-dbus python3-gobject ``` Spectacle is optional, will be used to create preset previews @@ -187,6 +197,18 @@ To install the widget use one of these methods: 2. Go to the widget settings to change the current panel appearance (right click > Configure...) 3. Widget can set to only show in panel **Edit Mode** (right click > Hide widget or from the widget settings) +### Switching presets using the commandline with D-Bus + +1. Go to the widget settings +2. In General tab enable the D-Bus service +3. To apply a preset can use qdbus6 and pass the absolute path of a preset: + + ```sh + qdbus6 luisbocanegra.panel.colorizer.c337.w2346 /preset preset /path/to/preset/dir/ + ``` + +Each widget instance has its own D-bus name, you can get it from the same widget settings General tab. + ## Adding or improving the built-in presets Instructions to add new presets or improve the existing ones are [here](https://github.com/luisbocanegra/plasma-panel-colorizer/blob/main/package/contents/ui/presets/README.md) @@ -243,7 +265,7 @@ Backgrounds are drawn by creating rectangle areas bellow widgets/panel, text and **Performance** -I tried to optimize it so CPU usage only increases around 0.5-1% on my computer, but usage could vary depending on your System or how many widgets are in your panels. +I tried to optimize it so CPU usage only increases around 0.5-1% on my computer, usage may vary depending on your System or how many widgets are in your panels. ### Can this widget change the appearance of other parts of Plasma (e.g Desktop view, widget popups/tooltips, overview) diff --git a/package/metadata.json b/package/metadata.json index bd61879..37aae54 100644 --- a/package/metadata.json +++ b/package/metadata.json @@ -15,7 +15,7 @@ "Icon": "desktop", "License": "GPL-3.0", "Name": "Panel colorizer", - "Version": "1.2.0", + "Version": "2.0.0", "Website": "https://github.com/luisbocanegra/plasma-panel-colorizer" }, "X-Plasma-API-Minimum-Version": "6.0"