-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1688 from bap2pecs/feat/darkreader
add new rule to toggle Dark Reader On/Off in Chrome/Brave
- Loading branch information
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"title": "Dark Reader Toggle", | ||
"rules": [ | ||
{ | ||
"description": "Change F7 to Toggle Dark Mode Reader in Browsers", | ||
"manipulators": [ | ||
{ | ||
"conditions": [ | ||
{ | ||
"bundle_identifiers": [ | ||
"^com\\.brave\\.Browser$", | ||
"^com\\.google\\.Chrome$" | ||
], | ||
"type": "frontmost_application_if" | ||
} | ||
], | ||
"from": { | ||
"key_code": "f7" | ||
}, | ||
"to": [ | ||
{ | ||
"key_code": "d", | ||
"modifiers": [ | ||
"left_shift", | ||
"left_option" | ||
] | ||
} | ||
], | ||
"type": "basic" | ||
} | ||
] | ||
} | ||
] | ||
} |