Skip to content

Commit

Permalink
docs: rules example
Browse files Browse the repository at this point in the history
  • Loading branch information
xhyrom committed Aug 18, 2024
1 parent e4d1872 commit 486bcff
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,20 @@ You can configure state, details and git integration by changing Discord Presenc
// URL for small image
"small_image": "{base_icons_url}/zed.png",
"small_text": "Zed",

// Rules - disable presence in some workspaces
"rules": {
"mode": "blacklist" // or whitelist
"paths": [
"absolute path"
]
},

"git_integration": true
}
}
}
}
```

You can also use `null` to unset the option. Possible for everything except `base_icons_url` and `git_integration`
You can also use `null` to unset the option. Possible for everything except `base_icons_url`, `rules` and `git_integration`

0 comments on commit 486bcff

Please sign in to comment.