From 455775617c540b8f258f6a793e6f466fb7c66f76 Mon Sep 17 00:00:00 2001 From: Guillaume Broder Date: Sun, 24 Sep 2017 16:01:36 +0200 Subject: [PATCH] :bug: Fix Readme errors Signed-off-by: Guillaume Broder --- .github/rules.json | 120 +++++++++++++++++++++++++++++++++++++++++++++ README.md | 18 +++++-- 2 files changed, 133 insertions(+), 5 deletions(-) create mode 100644 .github/rules.json diff --git a/.github/rules.json b/.github/rules.json new file mode 100644 index 0000000..a3082f1 --- /dev/null +++ b/.github/rules.json @@ -0,0 +1,120 @@ +{ + "title": "MonitorControl (@the0neyouseek)", + "rules": [ + { + "description": "External Screen brightness [-] (using MonitorControl)", + "manipulators": [{ + "type": "basic", + "from": { + "key_code": "f1", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [{ + "key_code": "down_arrow", + "modifiers": [ + "left_shift", + "left_control", + "left_option", + "left_command" + ] + }] + }] + }, + { + "description": "External Screen brightness [+] (using MonitorControl)", + "manipulators": [{ + "type": "basic", + "from": { + "key_code": "f2", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [{ + "key_code": "up_arrow", + "modifiers": [ + "left_shift", + "left_control", + "left_option", + "left_command" + ] + }] + }] + }, + { + "description": "External Screen volume [-] (using MonitorControl)", + "manipulators": [{ + "type": "basic", + "from": { + "key_code": "f11", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [{ + "key_code": "left_arrow", + "modifiers": [ + "left_shift", + "left_control", + "left_option", + "left_command" + ] + }] + }] + }, + { + "description": "External Screen volume [+] (using MonitorControl)", + "manipulators": [{ + "type": "basic", + "from": { + "key_code": "f12", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [{ + "key_code": "right_arrow", + "modifiers": [ + "left_shift", + "left_control", + "left_option", + "left_command" + ] + }] + }] + }, + { + "description": "External Screen volume mute (using MonitorControl)", + "manipulators": [{ + "type": "basic", + "from": { + "key_code": "f10", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [{ + "key_code": "equal_sign", + "modifiers": [ + "left_shift", + "left_control", + "left_option", + "left_command" + ] + }] + }] + } + ] +} \ No newline at end of file diff --git a/README.md b/README.md index fa9ae5f..f6c88f3 100644 --- a/README.md +++ b/README.md @@ -12,10 +12,17 @@ Control your external monitor brightness, contrast or volume directly from a men ## Download -Go to [Release](./) and download the latest `.dmg` +Go to [Release](https://github.com/the0neyouseek/MonitorControl/releases/latest) and download the latest `.dmg` ## Brightness/Volume default key -You can use [Karabiner Elements](https://github.com/tekezo/Karabiner-Elements/) to use the default mac key (`F1`, `F2` for brightness and `F10`, `F11`, `F12` for volume) with this set of custom rules : [Karabiner rules for MonitorControl](karabiner://karabiner/assets/complex_modifications/import?url=https%3A%2F%2Fraw.githubusercontent.com%2Fthe0neyouseek%2FMonitorControl%2Fmaster%2F.github%2Frules.json) +You can use [Karabiner Elements](https://github.com/tekezo/Karabiner-Elements/) to use the default mac key (`F1`, `F2` for brightness and `F10`, `F11`, `F12` for volume) with this set of custom rules : +[Karabiner rules for MonitorControl](./.github/rules.json) + +Copy and paste this url in your browser to install them directly : + +``` +karabiner://karabiner/assets/complex_modifications/import?url=https%3A%2F%2Fraw.githubusercontent.com%2Fthe0neyouseek%2FMonitorControl%2Fmaster%2F.github%2Frules.json +``` --- @@ -29,12 +36,13 @@ Bonus: Using keyboard shortcuts display the native osd : - [ ] Skip Karabiner use for keyboard shortcut - [ ] Option to start app at login - [ ] Add [SwiftLint](https://github.com/realm/SwiftLint) +- [ ] Change App Icon ## Support - macOS Sierra (`10.12`) and up. - Works with monitors comptaible with [@kfix/ddcctl](https://github.com/kfix/ddcctl) ## Thanks -- @bluejamesbond (Original developer) -- @Tyilo (Fork) -- @Bensge - (Used some code from his project [NativeDisplayBrightness](https://github.com/Bensge/NativeDisplayBrightness)) \ No newline at end of file +- [@bluejamesbond](https://github.com/bluejamesbond/) (Original developer) +- [@Tyilo](https://github.com/Tyilo/) (Fork) +- [@Bensge](https://github.com/Bensge/) - (Used some code from his project [NativeDisplayBrightness](https://github.com/Bensge/NativeDisplayBrightness)) \ No newline at end of file