added firefox template

This commit is contained in:
2026-01-12 13:13:08 +03:00
parent d722499e80
commit 4d61ed3194
3 changed files with 149 additions and 3 deletions

View File

@@ -83,7 +83,6 @@ reload_cmd = ''
import = ["clrsync.toml"]
```
### Ghostty
**1. Download [template file](templates/ghostty)**
@@ -102,4 +101,42 @@ reload_cmd = 'pkill -SIGUSR2 ghostty'
```toml
theme = "clrsync"
```
```
### Visual Studio Code
**1. Install [clrsync VS Code theme](https://marketplace.visualstudio.com/items?itemName=obsqrbtz.clrsync)**
**2. Download [template file](templates/code.json)**
**3. Configure template in `~/.config/clrsync/config.toml`**
```toml
[templates.vscode]
enabled = true
input_path = '~/.config/clrsync/templates/code.json'
output_path = '~/.vscode/extensions/obsqrbtz.clrsync-1.0.2/themes/clrsync-color-theme.json'
reload_cmd = ''
```
**4. Set `clrsync` color scheme in VS Code**
### Firefox
**1. Go to `about:config` and set `toolkit.legacyUserProfileCustomizations.stylesheets` to `true`
**2. Go to `about:support` and find your profile directory
**3. Create `chrome` directory in your profile
**4. Get [template file](templates/userChrome.css)
**4. Configure clrsync to output to `<profile>/chrome/userChrome.css`
```toml
[templates.firefox]
enabled = true
input_path = '~/.config/clrsync/templates/firefox.json'
output_path = '<profile directory>\chrome\userChrome.css'
reload_cmd = ''
```