This pull request adds support for notification color swatches and implements installation dependency warnings.
Notification Swatch Support
Added ImageMagick detection logic (magick or convert).
Configured the script to generate a 64x64 color swatch image and attach it to the notify-send payload if swatch_mode is enabled.
Ensured ImageMagick usage is non-fatal; if generation fails, it falls back to a standard notification gracefully.
Dependency Verification (check_dependencies)
Implemented a post-installation dependency checker that validates both optional and required dependencies.
It detects the presence of magick / convert (ImageMagick), wl-copy / xclip (Clipboard utilities), jq and curl, and python3 and PyQt6 (essential for KDE Wayland Color Picker functionality).
The script checks the desktop environment directly for WAYLAND_DISPLAY and XDG_CURRENT_DESKTOP=KDE.
During --install, users receive clear, color-coded warnings if optional tools are missing, describing precisely what functionality will be limited.
Test Suite Enhancements
Added a mock test environment inside tests/run_tests.sh designed to test the --install command with a missing toolset.
Verified that the script correctly throws all expected missing dependency warnings without failing the installation.
This pull request adds support for notification color swatches and implements installation dependency warnings.
### Notification Swatch Support
- Added ImageMagick detection logic (`magick` or `convert`).
- Configured the script to generate a 64x64 color swatch image and attach it to the `notify-send` payload if `swatch_mode` is enabled.
- Ensured ImageMagick usage is non-fatal; if generation fails, it falls back to a standard notification gracefully.
### Dependency Verification (`check_dependencies`)
- Implemented a post-installation dependency checker that validates both optional and required dependencies.
- It detects the presence of `magick` / `convert` (ImageMagick), `wl-copy` / `xclip` (Clipboard utilities), `jq` and `curl`, and `python3` and `PyQt6` (essential for KDE Wayland Color Picker functionality).
- The script checks the desktop environment directly for `WAYLAND_DISPLAY` and `XDG_CURRENT_DESKTOP=KDE`.
- During `--install`, users receive clear, color-coded warnings if optional tools are missing, describing precisely what functionality will be limited.
### Test Suite Enhancements
- Added a mock test environment inside `tests/run_tests.sh` designed to test the `--install` command with a missing toolset.
- Verified that the script correctly throws all expected missing dependency warnings without failing the installation.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This pull request adds support for notification color swatches and implements installation dependency warnings.
Notification Swatch Support
magickorconvert).notify-sendpayload ifswatch_modeis enabled.Dependency Verification (
check_dependencies)magick/convert(ImageMagick),wl-copy/xclip(Clipboard utilities),jqandcurl, andpython3andPyQt6(essential for KDE Wayland Color Picker functionality).WAYLAND_DISPLAYandXDG_CURRENT_DESKTOP=KDE.--install, users receive clear, color-coded warnings if optional tools are missing, describing precisely what functionality will be limited.Test Suite Enhancements
tests/run_tests.shdesigned to test the--installcommand with a missing toolset.