- code cleanup
- add feature that automatically detects if monitor or other devices (for example Airpods) are being used and ignores volume control for other devices (meaning they can be controlled as they normally would)
- fixed an issue where the default volume controls would be intercepted (and thus not work) when an external display was connected and the output set to a device that allows volume control by default.
- refactor some of the code
* Update `ddcctl` submodule.
* Update dependencies.
* Enable displays by default.
* Retry more often to get values from display.
* Only print when debugging.
Fix#13
Many changes in commit…
- Contrast slider is back !
- Added a Preferences Window
- Function keys (should) work
- If (like me) your screen backlight is still too bright even at 0, you can now set the contrast to 0 when the brightness hit 0 too
- App can now be started at login (Needs to be tested)
Signed-off-by: Guillaume Broder <iamnotheoneyouseek@gmail.com>
- Refactoring of the way the slider are created
- Read the current value of ddcctl monitor after launching the app, so no more value at 0 for the sliders
- When there's only one monitor, display it directly, not in a submenu, closes#10
- Added a "start at login" helper (still need testing) for v1.2
Signed-off-by: Guillaume Broder <iamnotheoneyouseek@gmail.com>
- I've rewritten some so it should easier to read now
- Mute should work like on a mac, meaning you can mute and unmute back to the previous volume
- Removed the "default" system as I now use the "main" screen for keyboard shortcuts, meaning, in a multiple screen environement you can now control the current screen with your keyboard
- I now use the `identifier` instead of `serial` of the display for saving value, should fix (hopefully) #6
Signed-off-by: Guillaume Broder <iamnotheoneyouseek@gmail.com>
- Key handling is now done in the app, close#3
- All code linted with SwiftLint, close#4
- Better handling of built-in screen
Signed-off-by: Guillaume Broder <iamnotheoneyouseek@gmail.com>