mirror of
https://github.com/obsqrbtz/clrsync.git
synced 2026-04-09 04:29:04 +03:00
143 lines
3.0 KiB
Markdown
143 lines
3.0 KiB
Markdown
# Extras
|
|
|
|
## Palettes
|
|
|
|
### Cursed
|
|
|
|
A dark color scheme, which tries to be like `cursed` theme by **[pyratebeard](https://pyratebeard.net)**
|
|
|
|

|
|
|
|
### Cursed-light
|
|
|
|
Same as `cursed`, but it also tries to be light as well
|
|
|
|

|
|
|
|
### Nord
|
|
|
|
Color scheme based on `Nord`
|
|
|
|

|
|
|
|
## Pre-configured templates
|
|
|
|
### Kitty
|
|
|
|
**1. Download [template file](templates/kitty.conf)**
|
|
|
|
**2. Configure template in `~/.config/clrsync/config.toml`**
|
|
|
|
```toml
|
|
[templates.kitty]
|
|
enabled = true
|
|
input_path = '~/.config/clrsync/templates/kitty.conf'
|
|
output_path = '~/.config/kitty/clrsync.conf'
|
|
reload_cmd = 'pkill -SIGUSR1 kitty'
|
|
```
|
|
|
|
**3. Import generated color scheme in `~/.config/kitty/kitty.conf**
|
|
|
|
```conf
|
|
include clrsync.conf
|
|
```
|
|
|
|
### Neovim
|
|
|
|
**1. Download [template file](templates/nvim.lua)**
|
|
|
|
**2. Configure template in `~/.config/clrsync/config.toml`**
|
|
|
|
```toml
|
|
[templates.nvim]
|
|
enabled = true
|
|
input_path = '~/.config/clrsync/templates/nvim.lua'
|
|
output_path = '~/.config/nvim/colors/clrsync.lua'
|
|
reload_cmd = ''
|
|
```
|
|
|
|
**3. Set colorscheme in neovim config**
|
|
|
|
```lua
|
|
vim.cmd.colorscheme 'clrsync'
|
|
```
|
|
|
|
### Alacritty
|
|
|
|
**1. Download [template file](templates/alacritty.toml)**
|
|
|
|
**2. Configure template in `~/.config/clrsync/config.toml`**
|
|
|
|
```toml
|
|
[templates.alacritty]
|
|
enabled = true
|
|
input_path = '~/.config/clrsync/templates/alacritty.toml'
|
|
output_path = '~/.config/alacritty/clrsync.toml'
|
|
reload_cmd = ''
|
|
```
|
|
|
|
**3. Import generated color scheme in `~/.config/alacritty/alacritty.toml**
|
|
|
|
```toml
|
|
[general]
|
|
import = ["clrsync.toml"]
|
|
```
|
|
|
|
### Ghostty
|
|
|
|
**1. Download [template file](templates/ghostty)**
|
|
|
|
**2. Configure template in `~/.config/clrsync/config.toml`**
|
|
|
|
```toml
|
|
[templates.ghostty]
|
|
enabled = true
|
|
input_path = '~/.config/clrsync/templates/ghostty'
|
|
output_path = '~/.config/ghostty/themes/clrsync'
|
|
reload_cmd = 'pkill -SIGUSR2 ghostty'
|
|
```
|
|
|
|
**3. Set generated color scheme in `~/.config/ghostty/config**
|
|
|
|
```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 = ''
|
|
```
|