You can import Raycast Focus categories from a JSON file using Import Focus Categories
command (available in Raycast 1.92.0+).
title
- Category title. Type: String
(required)apps
- Bundle identifiers of applications to block. Type: Array<String>
websites
- Hostname of websites to block (e.g. "x.com"
, "facebook.com"
). Type: Array<String>
<aside> <img src="/icons/info-alternate_blue.svg" alt="/icons/info-alternate_blue.svg" width="40px" />
Focus category title must be unique. Choose a title different from those already used by other categories.
</aside>
[
{
"title" : "Gambling",
"websites" : [
"winamax.com",
"stake.com"
]
},
{
"title": "French News",
"apps" : [
"com.apple.news"
],
"websites": [
"lefigaro.fr",
"lemonde.fr",
"liberation.fr",
"lequipe.fr"
]
}
]
After the import is completed, you will see how many categories were added and how many duplicates were skipped. If a category has the same title, it’s considered to be a duplicate.