Skip to content

Commit

Permalink
Merge pull request #1688 from bap2pecs/feat/darkreader
Browse files Browse the repository at this point in the history
add new rule to toggle Dark Reader On/Off in Chrome/Brave
  • Loading branch information
tekezo authored Jul 9, 2024
2 parents 594ce2d + 11cba16 commit fd2021a
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions public/json/dark_reader_toggle.json
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"
}
]
}
]
}

0 comments on commit fd2021a

Please sign in to comment.