From 78daab71760087d6ae7edd36450912686daffc34 Mon Sep 17 00:00:00 2001 From: Daniel Dada Date: Wed, 14 Jan 2026 11:50:43 +0300 Subject: [PATCH] restructured extra directory --- extra/README.md | 320 ++---------------- .../cursed-light}/cursed-light.png | Bin .../{ => cursed-light}/cursed-light.toml | 0 extra/palettes/cursed-light/readme.md | 7 + extra/{img => palettes/cursed}/cursed.png | Bin extra/palettes/{ => cursed}/cursed.toml | 0 extra/palettes/cursed/readme.md | 7 + extra/{img => palettes/nord}/nord.png | Bin extra/palettes/{ => nord}/nord.toml | 0 extra/palettes/nord/readme.md | 7 + .../templates/{ => alacritty}/alacritty.toml | 0 extra/templates/alacritty/readme.md | 20 ++ extra/templates/firefox/readme.md | 17 + extra/templates/{ => firefox}/userChrome.css | 0 .../{ghostty => ghostty/ghostty.conf} | 0 extra/templates/ghostty/readme.md | 19 ++ extra/templates/gtk.css | 88 ----- extra/templates/gtk/gtk.css | 18 + extra/templates/gtk/readme.md | 15 + extra/templates/{ => hyprland}/hyprland.conf | 12 +- extra/templates/hyprland/readme.md | 19 ++ extra/templates/{ => kitty}/kitty.conf | 0 extra/templates/kitty/readme.md | 19 ++ extra/templates/{ => neovim}/nvim.lua | 0 extra/templates/neovim/readme.md | 19 ++ .../{kvantum => qt}/kvantum.kvconfig | 12 +- extra/templates/{kvantum => qt}/kvantum.svg | 0 extra/templates/{ => qt}/qtct.conf | 0 extra/templates/qt/readme.md | 15 + extra/templates/telegram/readme.md | 17 + .../{ => telegram}/telegram.tdesktop-theme | 0 extra/templates/{ => vscode}/code.json | 0 extra/templates/vscode/readme.md | 17 + 33 files changed, 260 insertions(+), 388 deletions(-) rename extra/{img => palettes/cursed-light}/cursed-light.png (100%) rename extra/palettes/{ => cursed-light}/cursed-light.toml (100%) create mode 100644 extra/palettes/cursed-light/readme.md rename extra/{img => palettes/cursed}/cursed.png (100%) rename extra/palettes/{ => cursed}/cursed.toml (100%) create mode 100644 extra/palettes/cursed/readme.md rename extra/{img => palettes/nord}/nord.png (100%) rename extra/palettes/{ => nord}/nord.toml (100%) create mode 100644 extra/palettes/nord/readme.md rename extra/templates/{ => alacritty}/alacritty.toml (100%) create mode 100644 extra/templates/alacritty/readme.md create mode 100644 extra/templates/firefox/readme.md rename extra/templates/{ => firefox}/userChrome.css (100%) rename extra/templates/{ghostty => ghostty/ghostty.conf} (100%) create mode 100644 extra/templates/ghostty/readme.md delete mode 100644 extra/templates/gtk.css create mode 100644 extra/templates/gtk/gtk.css create mode 100644 extra/templates/gtk/readme.md rename extra/templates/{ => hyprland}/hyprland.conf (62%) create mode 100644 extra/templates/hyprland/readme.md rename extra/templates/{ => kitty}/kitty.conf (100%) create mode 100644 extra/templates/kitty/readme.md rename extra/templates/{ => neovim}/nvim.lua (100%) create mode 100644 extra/templates/neovim/readme.md rename extra/templates/{kvantum => qt}/kvantum.kvconfig (98%) rename extra/templates/{kvantum => qt}/kvantum.svg (100%) rename extra/templates/{ => qt}/qtct.conf (100%) create mode 100644 extra/templates/qt/readme.md create mode 100644 extra/templates/telegram/readme.md rename extra/templates/{ => telegram}/telegram.tdesktop-theme (100%) rename extra/templates/{ => vscode}/code.json (100%) create mode 100644 extra/templates/vscode/readme.md diff --git a/extra/README.md b/extra/README.md index 5dc2138..9489a75 100644 --- a/extra/README.md +++ b/extra/README.md @@ -1,308 +1,52 @@ # Extras -This directory contains additional palettes and pre-configured templates for various applications. - -## Navigation - -- [Palettes](#palettes) - - [Cursed](#cursed) - - [Cursed Light](#cursed-light) - - [Nord](#nord) -- [Pre-configured Templates](#pre-configured-templates) - - [Terminal Emulators](#terminal-emulators) - - [Kitty](#kitty) - - [Alacritty](#alacritty) - - [Ghostty](#ghostty) - - [Text Editors](#text-editors) - - [Neovim](#neovim) - - [Visual Studio Code](#visual-studio-code) - - [Browsers](#browsers) - - [Firefox](#firefox) - - [Applications](#applications) - - [Telegram](#telegram) - - [Desktop Themes](#desktop-themes) - - [GTK](#gtk) - - [Qt Applications](#qt-applications) - - [Window Managers](#window-managers) - - [Hyprland](#hyprland) +Pre-configured palettes and templates for clrsync. ## Palettes -### Cursed +| Palette | Preview | +|---------|---------| +| [Nord](palettes/nord) | ![nord](palettes/nord/nord.png) | +| [Cursed](palettes/cursed) | ![cursed](palettes/cursed/cursed.png) | +| [Cursed Light](palettes/cursed-light) | ![cursed-light](palettes/cursed-light/cursed-light.png) | -A dark color scheme inspired by the `cursed` theme by [pyratebeard](https://pyratebeard.net). +## Templates -
-Preview - -![cursed](img/cursed.png) - -
- -### Cursed Light - -A light variant of the `cursed` color scheme. - -
-Preview - -![cursed-light](img/cursed-light.png) - -
- -### Nord - -A color scheme based on the `Nord` palette. - -
-Preview - -![nord](img/nord.png) - -
- -## Pre-configured Templates - -### Terminal Emulators - -#### Kitty - -1. Download the [template file](templates/kitty.conf) - -2. Configure the 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 the generated color scheme in `~/.config/kitty/kitty.conf`: - -```conf -include clrsync.conf -``` - -#### Alacritty - -1. Download the [template file](templates/alacritty.toml) - -2. Configure the 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 the generated color scheme in `~/.config/alacritty/alacritty.toml`: - -```toml -[general] -import = ["clrsync.toml"] -``` - -#### Ghostty - -1. Download the [template file](templates/ghostty) - -2. Configure the 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 the generated color scheme in `~/.config/ghostty/config`: - -```conf -theme = "clrsync" -``` +### Terminals +- [Alacritty](templates/alacritty) +- [Ghostty](templates/ghostty) +- [Kitty](templates/kitty) ### Text Editors - -#### Neovim - -1. Download the [template file](templates/nvim.lua) - -2. Configure the 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 the colorscheme in your Neovim config: - -```lua -vim.cmd.colorscheme 'clrsync' -``` - -#### Visual Studio Code - -1. Install the [clrsync VS Code theme](https://marketplace.visualstudio.com/items?itemName=obsqrbtz.clrsync) - -2. Download the [template file](templates/code.json) - -3. Configure the 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 the `clrsync` color scheme in VS Code +- [Neovim](templates/neovim) +- [VS Code](templates/vscode) ### Browsers +- [Firefox](templates/firefox) -#### 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 a `chrome` directory in your profile - -4. Download the [template file](templates/userChrome.css) - -5. Configure clrsync to output to `/chrome/userChrome.css`: - -```toml -[templates.firefox] -enabled = true -input_path = '~/.config/clrsync/templates/userChrome.css' -output_path = '/chrome/userChrome.css' -reload_cmd = '' -``` - -### Applications - -#### Telegram - -1. Download the [template file](templates/telegram.tdesktop-theme) - -2. Configure the template in `~/.config/clrsync/config.toml`: - -```toml -[templates.telegram] -enabled = true -input_path = '~/.config/clrsync/templates/telegram.tdesktop-theme' -output_path = '~/clrsync.tdesktop-theme' -reload_cmd = '' -``` - -3. Apply the palette with clrsync and send the generated `clrsync.tdesktop-theme` file to yourself in Telegram - -4. Click on the theme file in the Telegram dialog to apply it - -### Desktop Themes - -#### GTK - -1. Download the [template file](templates/gtk.css) - -2. Configure the template in `~/.config/clrsync/config.toml`: - -```toml -[templates.gtk3] -enabled = true -input_path = '~/.config/clrsync/templates/gtk.css' -output_path = '~/.config/gtk-3.0/colors.css' -reload_cmd = '' - -[templates.gtk4] -enabled = true -input_path = '~/.config/clrsync/templates/gtk.css' -output_path = '~/.config/gtk-4.0/colors.css' -reload_cmd = '' -``` - -3. Import the color scheme at the top of `~/.config/gtk-3.0/gtk.css`, `~/.config/gtk-4.0/gtk.css`, and `~/.config/gtk-4.0/gtk-dark.css`: - -```css -@import 'colors.css'; -``` - -#### Qt Applications - -1. Download the templates: - - Kvantum: [kvantum.kvconfig](templates/kvantum/kvantum.kvconfig) and [kvantum.svg](templates/kvantum/kvantum.svg) - - Qt5ct/Qt6ct: [qtct.conf](templates/qtct.conf) - -2. Configure the templates in `~/.config/clrsync/config.toml`: - -```toml -[templates.kvantum] -enabled = true -input_path = '~/.config/clrsync/templates/kvantum/kvantum.kvconfig' -output_path = '~/.config/Kvantum/clrsync/clrsync.kvconfig' -reload_cmd = '' - -[templates.kvantum-svg] -enabled = true -input_path = '~/.config/clrsync/templates/kvantum/kvantum.svg' -output_path = '~/.config/Kvantum/clrsync/clrsync.svg' -reload_cmd = '' - -[templates.qt5ct] -enabled = true -input_path = '~/.config/clrsync/templates/qtct.conf' -output_path = '~/.config/qt5ct/colors/clrsync.conf' -reload_cmd = '' - -[templates.qt6ct] -enabled = true -input_path = '~/.config/clrsync/templates/qtct.conf' -output_path = '~/.config/qt6ct/colors/clrsync.conf' -reload_cmd = '' -``` - -3. Set the theme in `~/.config/Kvantum/kvantum.kvconfig`: - -```conf -[General] -theme=clrsync -``` - -4. Set the theme in `~/.config/qt5ct/qt5ct.conf` and `~/.config/qt6ct/qt6ct.conf`: - -```conf -[Appearance] -color_scheme_path=$HOME/.config/qt5ct/colors/clrsync.conf -custom_palette=true -``` +### Desktop +- [GTK](templates/gtk) +- [Qt](templates/qt) ### Window Managers +- [Hyprland](templates/hyprland) -#### Hyprland +### Apps +- [Telegram](templates/telegram) -1. Download the [template file](templates/hyprland.conf) +## Contributing -2. Configure the template in `~/.config/clrsync/config.toml`: +To add a new palette: -```toml -[templates.hyprland] -enabled = true -input_path = '~/.config/clrsync/templates/hyprland.conf' -output_path = '~/.config/hypr/hyprland/clrsync.conf' -reload_cmd = '' -``` +1. Create a folder in `palettes/` with your palette name +2. Add your `.toml` palette file +3. Add a `readme.md` with description +4. Add a screenshot (`.png`) +5. Submit a PR -3. Source the color theme in your Hyprland config: +To add a new template: -```conf -source=~/.config/hypr/hyprland/clrsync.conf -``` +1. Create a folder in `templates/` with the app name +2. Add your template file(s) +3. Add a `readme.md` with installation instructions +4. Submit a PR diff --git a/extra/img/cursed-light.png b/extra/palettes/cursed-light/cursed-light.png similarity index 100% rename from extra/img/cursed-light.png rename to extra/palettes/cursed-light/cursed-light.png diff --git a/extra/palettes/cursed-light.toml b/extra/palettes/cursed-light/cursed-light.toml similarity index 100% rename from extra/palettes/cursed-light.toml rename to extra/palettes/cursed-light/cursed-light.toml diff --git a/extra/palettes/cursed-light/readme.md b/extra/palettes/cursed-light/readme.md new file mode 100644 index 0000000..1eec1bf --- /dev/null +++ b/extra/palettes/cursed-light/readme.md @@ -0,0 +1,7 @@ +# Cursed Light + +A light variant of the `cursed` color scheme. + +![cursed-light](cursed-light.png) + +[Download](cursed-light.toml) diff --git a/extra/img/cursed.png b/extra/palettes/cursed/cursed.png similarity index 100% rename from extra/img/cursed.png rename to extra/palettes/cursed/cursed.png diff --git a/extra/palettes/cursed.toml b/extra/palettes/cursed/cursed.toml similarity index 100% rename from extra/palettes/cursed.toml rename to extra/palettes/cursed/cursed.toml diff --git a/extra/palettes/cursed/readme.md b/extra/palettes/cursed/readme.md new file mode 100644 index 0000000..ff26aa0 --- /dev/null +++ b/extra/palettes/cursed/readme.md @@ -0,0 +1,7 @@ +# Cursed + +A dark color scheme inspired by the `cursed` theme by [pyratebeard](https://pyratebeard.net). + +![cursed](cursed.png) + +[Download](cursed.toml) diff --git a/extra/img/nord.png b/extra/palettes/nord/nord.png similarity index 100% rename from extra/img/nord.png rename to extra/palettes/nord/nord.png diff --git a/extra/palettes/nord.toml b/extra/palettes/nord/nord.toml similarity index 100% rename from extra/palettes/nord.toml rename to extra/palettes/nord/nord.toml diff --git a/extra/palettes/nord/readme.md b/extra/palettes/nord/readme.md new file mode 100644 index 0000000..aa3dd33 --- /dev/null +++ b/extra/palettes/nord/readme.md @@ -0,0 +1,7 @@ +# Nord + +A color scheme based on the [Nord](https://www.nordtheme.com/) palette. + +![nord](nord.png) + +[Download](nord.toml) diff --git a/extra/templates/alacritty.toml b/extra/templates/alacritty/alacritty.toml similarity index 100% rename from extra/templates/alacritty.toml rename to extra/templates/alacritty/alacritty.toml diff --git a/extra/templates/alacritty/readme.md b/extra/templates/alacritty/readme.md new file mode 100644 index 0000000..fc88b69 --- /dev/null +++ b/extra/templates/alacritty/readme.md @@ -0,0 +1,20 @@ +# Alacritty + +1. Download the [template file](alacritty.toml) + +2. Configure the 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 the generated color scheme in `~/.config/alacritty/alacritty.toml`: + +```toml +[general] +import = ["clrsync.toml"] +``` diff --git a/extra/templates/firefox/readme.md b/extra/templates/firefox/readme.md new file mode 100644 index 0000000..109cd79 --- /dev/null +++ b/extra/templates/firefox/readme.md @@ -0,0 +1,17 @@ +# Firefox + +1. Download the [template file](userChrome.css) + +2. Configure the template in `~/.config/clrsync/config.toml`: + +```toml +[templates.firefox] +enabled = true +input_path = '~/.config/clrsync/templates/userChrome.css' +output_path = '~/.mozilla/firefox//chrome/userChrome.css' +reload_cmd = '' +``` + +3. Enable `toolkit.legacyUserProfileCustomizations.stylesheets` in `about:config` + +4. Restart Firefox to apply the theme diff --git a/extra/templates/userChrome.css b/extra/templates/firefox/userChrome.css similarity index 100% rename from extra/templates/userChrome.css rename to extra/templates/firefox/userChrome.css diff --git a/extra/templates/ghostty b/extra/templates/ghostty/ghostty.conf similarity index 100% rename from extra/templates/ghostty rename to extra/templates/ghostty/ghostty.conf diff --git a/extra/templates/ghostty/readme.md b/extra/templates/ghostty/readme.md new file mode 100644 index 0000000..c81481a --- /dev/null +++ b/extra/templates/ghostty/readme.md @@ -0,0 +1,19 @@ +# Ghostty + +1. Download the [template file](ghostty) + +2. Configure the 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 the generated color scheme in `~/.config/ghostty/config`: + +```conf +theme = "clrsync" +``` diff --git a/extra/templates/gtk.css b/extra/templates/gtk.css deleted file mode 100644 index 32a9ccf..0000000 --- a/extra/templates/gtk.css +++ /dev/null @@ -1,88 +0,0 @@ -@define-color accent_color {accent}; -@define-color accent_bg_color {accent}; -@define-color accent_fg_color {on_surface}; -@define-color destructive_color {error}; -@define-color destructive_bg_color {error}; -@define-color destructive_fg_color {on_error}; -@define-color success_color {success}; -@define-color success_bg_color {success}; -@define-color success_fg_color {on_success}; -@define-color warning_color {warning}; -@define-color warning_bg_color {warning}; -@define-color warning_fg_color {on_warning}; -@define-color error_color {error}; -@define-color error_bg_color {error}; -@define-color error_fg_color {on_error}; -@define-color window_bg_color {background}; -@define-color window_fg_color {on_background}; -@define-color view_bg_color {background}; -@define-color view_fg_color {foreground}; -@define-color headerbar_bg_color {surface}; -@define-color headerbar_fg_color {on_surface}; -@define-color headerbar_border_color {border}; -@define-color headerbar_backdrop_color @window_bg_color; -@define-color headerbar_shade_color {border}; -@define-color sidebar_bg_color {surface_variant}; -@define-color sidebar_fg_color {on_surface}; -@define-color sidebar_border_color {border}; -@define-color sidebar_backdrop_color @window_bg_color; -@define-color sidebar_shade_color {border}; -@define-color card_bg_color {surface}; -@define-color card_fg_color {on_surface}; -@define-color card_shade_color {border}; -@define-color dialog_bg_color {surface}; -@define-color dialog_fg_color {on_surface}; -@define-color popover_bg_color {surface_variant}; -@define-color popover_fg_color {on_surface_variant}; -@define-color shade_color {border}; -@define-color scrollbar_outline_color {border}; - -@define-color blue_1 {base0C}; -@define-color blue_2 {base04}; -@define-color blue_3 {base04}; -@define-color blue_4 {base04}; -@define-color blue_5 {base04}; -@define-color green_1 {success}; -@define-color green_2 {success}; -@define-color green_3 {success}; -@define-color green_4 {base02}; -@define-color green_5 {base02}; -@define-color yellow_1 {base0B}; -@define-color yellow_2 {base03}; -@define-color yellow_3 {base03}; -@define-color yellow_4 {base03}; -@define-color yellow_5 {base03}; -@define-color orange_1 {warning}; -@define-color orange_2 {warning}; -@define-color orange_3 {warning}; -@define-color orange_4 {warning}; -@define-color orange_5 {warning}; -@define-color red_1 {error}; -@define-color red_2 {error}; -@define-color red_3 {error}; -@define-color red_4 {base01}; -@define-color red_5 {base01}; -@define-color purple_1 {base0D}; -@define-color purple_2 {base05}; -@define-color purple_3 {base05}; -@define-color purple_4 {base05}; -@define-color purple_5 {base05}; -@define-color brown_1 {base0E}; -@define-color brown_2 {base0E}; -@define-color brown_3 {base0E}; -@define-color brown_4 {base0E}; -@define-color brown_5 {base0E}; -@define-color light_1 {on_background}; -@define-color light_2 {on_surface}; -@define-color light_3 {on_surface_variant}; -@define-color light_4 {border}; -@define-color light_5 {border}; -@define-color dark_1 {border}; -@define-color dark_2 {surface_variant}; -@define-color dark_3 {surface}; -@define-color dark_4 {background}; -@define-color dark_5 {base00}; - -scale trough highlight { - background: {accent} -} diff --git a/extra/templates/gtk/gtk.css b/extra/templates/gtk/gtk.css new file mode 100644 index 0000000..faf3531 --- /dev/null +++ b/extra/templates/gtk/gtk.css @@ -0,0 +1,18 @@ +@define-color accent_color {accent}; +@define-color accent_bg_color {accent}; +@define-color accent_fg_color {on_surface}; +@define-color window_bg_color {background}; +@define-color window_fg_color {foreground}; +@define-color headerbar_bg_color {surface}; +@define-color headerbar_fg_color {on_surface}; +@define-color popover_bg_color {surface_variant}; +@define-color popover_fg_color {on_surface_variant}; +@define-color view_bg_color {background}; +@define-color view_fg_color {foreground}; +@define-color card_bg_color {surface}; +@define-color card_fg_color {on_surface}; + +@define-color sidebar_bg_color {surface_variant}; +@define-color sidebar_fg_color {on_surface}; +@define-color sidebar_border_color @window_bg_color; +@define-color sidebar_backdrop_color @window_bg_color; \ No newline at end of file diff --git a/extra/templates/gtk/readme.md b/extra/templates/gtk/readme.md new file mode 100644 index 0000000..a50882b --- /dev/null +++ b/extra/templates/gtk/readme.md @@ -0,0 +1,15 @@ +# GTK + +1. Download the [template file](gtk.css) + +2. Configure the template in `~/.config/clrsync/config.toml`: + +```toml +[templates.gtk] +enabled = true +input_path = '~/.config/clrsync/templates/gtk.css' +output_path = '~/.config/gtk-3.0/gtk.css' +reload_cmd = '' +``` + +3. Restart GTK applications to apply the theme diff --git a/extra/templates/hyprland.conf b/extra/templates/hyprland/hyprland.conf similarity index 62% rename from extra/templates/hyprland.conf rename to extra/templates/hyprland/hyprland.conf index 550847d..6505d57 100644 --- a/extra/templates/hyprland.conf +++ b/extra/templates/hyprland/hyprland.conf @@ -1,9 +1,9 @@ -$primary = rgb({accent.hex_stripped}) -$surface = rgb({surface.hex_stripped}) -$secondary = rgb({base04.hex_stripped}) -$error = rgb({error.hex_stripped}) -$tertiary = rgb({base06.hex_stripped}) -$surface_lowest = rgb({background.hex_stripped}) +$primary = rgb({accent_stripped}) +$surface = rgb({surface_stripped}) +$secondary = rgb({base04_stripped}) +$error = rgb({error_stripped}) +$tertiary = rgb({base06_stripped}) +$surface_lowest = rgb({background_stripped}) general { col.active_border = $primary diff --git a/extra/templates/hyprland/readme.md b/extra/templates/hyprland/readme.md new file mode 100644 index 0000000..d833464 --- /dev/null +++ b/extra/templates/hyprland/readme.md @@ -0,0 +1,19 @@ +# Hyprland + +1. Download the [template file](hyprland.conf) + +2. Configure the template in `~/.config/clrsync/config.toml`: + +```toml +[templates.hyprland] +enabled = true +input_path = '~/.config/clrsync/templates/hyprland.conf' +output_path = '~/.config/hypr/clrsync.conf' +reload_cmd = '' +``` + +3. Source the generated config in `~/.config/hypr/hyprland.conf`: + +```conf +source = clrsync.conf +``` diff --git a/extra/templates/kitty.conf b/extra/templates/kitty/kitty.conf similarity index 100% rename from extra/templates/kitty.conf rename to extra/templates/kitty/kitty.conf diff --git a/extra/templates/kitty/readme.md b/extra/templates/kitty/readme.md new file mode 100644 index 0000000..e8c3eb4 --- /dev/null +++ b/extra/templates/kitty/readme.md @@ -0,0 +1,19 @@ +# Kitty + +1. Download the [template file](kitty.conf) + +2. Configure the 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 the generated color scheme in `~/.config/kitty/kitty.conf`: + +```conf +include clrsync.conf +``` diff --git a/extra/templates/nvim.lua b/extra/templates/neovim/nvim.lua similarity index 100% rename from extra/templates/nvim.lua rename to extra/templates/neovim/nvim.lua diff --git a/extra/templates/neovim/readme.md b/extra/templates/neovim/readme.md new file mode 100644 index 0000000..45a38d6 --- /dev/null +++ b/extra/templates/neovim/readme.md @@ -0,0 +1,19 @@ +# Neovim + +1. Download the [template file](nvim.lua) + +2. Configure the 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 the colorscheme in your Neovim config: + +```lua +vim.cmd.colorscheme 'clrsync' +``` diff --git a/extra/templates/kvantum/kvantum.kvconfig b/extra/templates/qt/kvantum.kvconfig similarity index 98% rename from extra/templates/kvantum/kvantum.kvconfig rename to extra/templates/qt/kvantum.kvconfig index 799a05a..8816d0b 100644 --- a/extra/templates/kvantum/kvantum.kvconfig +++ b/extra/templates/qt/kvantum.kvconfig @@ -76,7 +76,7 @@ menu_blur_radius=0 tooltip_blur_radius=0 [GeneralColors] -window.color={background} +window.color={surface} base.color={surface} alt.base.color={surface} button.color={surface_variant} @@ -86,14 +86,14 @@ dark.color={surface_variant} mid.color={surface_variant} highlight.color={accent} inactive.highlight.color={accent} -text.color={on_background} -window.text.color={on_background} -button.text.color={on_surface_variant} +text.color={on_surface} +window.text.color={on_surface} +button.text.color={on_surface} disabled.text.color={editor_disabled} tooltip.text.color={on_surface} highlight.text.color={on_surface} -link.color={base04} -link.visited.color={base05} +link.color={base06} +link.visited.color={base0D} progress.indicator.text.color={on_surface} [Hacks] diff --git a/extra/templates/kvantum/kvantum.svg b/extra/templates/qt/kvantum.svg similarity index 100% rename from extra/templates/kvantum/kvantum.svg rename to extra/templates/qt/kvantum.svg diff --git a/extra/templates/qtct.conf b/extra/templates/qt/qtct.conf similarity index 100% rename from extra/templates/qtct.conf rename to extra/templates/qt/qtct.conf diff --git a/extra/templates/qt/readme.md b/extra/templates/qt/readme.md new file mode 100644 index 0000000..589427b --- /dev/null +++ b/extra/templates/qt/readme.md @@ -0,0 +1,15 @@ +# Qt (qt5ct/qt6ct) + +1. Download the [template file](qtct.conf) + +2. Configure the template in `~/.config/clrsync/config.toml`: + +```toml +[templates.qtct] +enabled = true +input_path = '~/.config/clrsync/templates/qtct.conf' +output_path = '~/.config/qt5ct/colors/clrsync.conf' +reload_cmd = '' +``` + +3. Select `clrsync` color scheme in qt5ct/qt6ct diff --git a/extra/templates/telegram/readme.md b/extra/templates/telegram/readme.md new file mode 100644 index 0000000..a76c828 --- /dev/null +++ b/extra/templates/telegram/readme.md @@ -0,0 +1,17 @@ +# Telegram + +1. Download the [template file](telegram.tdesktop-theme) + +2. Configure the template in `~/.config/clrsync/config.toml`: + +```toml +[templates.telegram] +enabled = true +input_path = '~/.config/clrsync/templates/telegram.tdesktop-theme' +output_path = '~/clrsync.tdesktop-theme' +reload_cmd = '' +``` + +3. Apply the palette with clrsync and send the generated `clrsync.tdesktop-theme` file to yourself in Telegram + +4. Click on the theme file in the Telegram dialog to apply it diff --git a/extra/templates/telegram.tdesktop-theme b/extra/templates/telegram/telegram.tdesktop-theme similarity index 100% rename from extra/templates/telegram.tdesktop-theme rename to extra/templates/telegram/telegram.tdesktop-theme diff --git a/extra/templates/code.json b/extra/templates/vscode/code.json similarity index 100% rename from extra/templates/code.json rename to extra/templates/vscode/code.json diff --git a/extra/templates/vscode/readme.md b/extra/templates/vscode/readme.md new file mode 100644 index 0000000..82de601 --- /dev/null +++ b/extra/templates/vscode/readme.md @@ -0,0 +1,17 @@ +# Visual Studio Code + +1. Install the [clrsync VS Code theme](https://marketplace.visualstudio.com/items?itemName=obsqrbtz.clrsync) + +2. Download the [template file](code.json) + +3. Configure the 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 the `clrsync` color scheme in VS Code