8 Commits
Author SHA1 Message Date
Juan Jesús García de Soria f6d252b035 Remove unused variable. 2020-08-05 23:25:53 +03:00
Juan Jesús García de Soria c5ebaccf3e Replace three mutexes with a queued mutex construct.
This fixes #391 by ensuring the RGB thread doesn't starve indicator updating
by hoarding dmutex all the time.
2020-08-05 23:25:20 +03:00
Juan Jesús García de Soria 72b31d9720 Document the dither command in DAEMON.md. 2015-07-09 22:58:09 +01:00
Juan Jesús García de Soria 299be9f982 Reverse temp file for indicator icon; use xdg-utils during install.
Using xdg-utils for installing the icon and the .desktop entry will ensure
that the icon/app caches are updated properly. Once caches are current, the
icon can be simply referenced as "ckb", and extracting a copy of it to a
temporary file is no longer needed.

When not performing a system-wide install, install the icon and the .desktop
file into the user's .local directory instead.
2015-07-09 22:58:02 +01:00
Juan Jesús García de Soria a122ac8f3a Ensure the dithering index doesn't go out of bounds. 2015-06-24 20:52:11 +01:00
Juan Jesús García de Soria e3c1c9ac6b Add an option to use ordered dithering.
This takes advantage of inter-key led light leakage to approximate
further color resolution. This is done by applying an ordered
dithering pattern to the quantization error produced when reducing
8-bit color to 3-bit color. This is a per-device setting.
2015-06-24 20:52:11 +01:00
Juan Jesús García de Soria 53c7c58e05 Make tray icon use libappindicator in Unity.
This conditionally links to libappindicator if its pkg-config files
are present, and uses an indicator instead of QSystemTrayIcon if
we detect we are running under Unity.

This fixes the issue with QSystemTrayIcon showing up on the top left
corner in Unity, thereby obscuring the close button for maximized
windows.
2015-06-24 20:52:11 +01:00
Juan Jesús García de Soria 8aea8de254 Use KEY_STOPCD rather than KEY_STOP as the media key code.
The code used so far (KEY_STOP) is not related to media controls,
but is apparently a special function of Sun keyboards. Using
KEY_STOPCD instead seems to be the right thing.
2015-06-20 11:12:40 +01:00