{"id":13501440,"url":"https://github.com/toggle-corp/alacritty-colorscheme","last_synced_at":"2025-04-04T10:09:17.527Z","repository":{"id":43041073,"uuid":"126854997","full_name":"toggle-corp/alacritty-colorscheme","owner":"toggle-corp","description":"Change colorscheme of alacritty with ease.","archived":false,"fork":false,"pushed_at":"2024-01-09T11:54:29.000Z","size":78,"stargazers_count":345,"open_issues_count":10,"forks_count":35,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-10-30T03:41:22.520Z","etag":null,"topics":["alacritty","alacritty-colorscheme","base16","colorscheme","neovim","themes","vim","vimrc"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/toggle-corp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-26T16:07:20.000Z","updated_at":"2024-09-24T11:06:47.000Z","dependencies_parsed_at":"2024-01-14T16:08:58.319Z","dependency_job_id":"469a144d-0915-4f75-af78-59ba92bb08cf","html_url":"https://github.com/toggle-corp/alacritty-colorscheme","commit_stats":{"total_commits":39,"total_committers":8,"mean_commits":4.875,"dds":"0.20512820512820518","last_synced_commit":"257e4668f784e19d1231116a21d195fb0ad088a4"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toggle-corp%2Falacritty-colorscheme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toggle-corp%2Falacritty-colorscheme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toggle-corp%2Falacritty-colorscheme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toggle-corp%2Falacritty-colorscheme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toggle-corp","download_url":"https://codeload.github.com/toggle-corp/alacritty-colorscheme/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247157283,"owners_count":20893220,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alacritty","alacritty-colorscheme","base16","colorscheme","neovim","themes","vim","vimrc"],"created_at":"2024-07-31T22:01:37.631Z","updated_at":"2025-04-04T10:09:17.507Z","avatar_url":"https://github.com/toggle-corp.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Alacritty Colorscheme\n\n![PyPI](https://img.shields.io/pypi/v/alacritty-colorscheme) ![PyPI - Downloads](https://img.shields.io/pypi/dm/alacritty-colorscheme)\n\nChange colorscheme of alacritty with ease.\n\n![Usage](https://user-images.githubusercontent.com/4928045/106160031-8267a880-61ad-11eb-9acf-b9d5cd5de3e4.gif)\n\n## Installation\n\nYou can install alacritty-colorscheme using pip:\n\n```bash\npip install --user alacritty-colorscheme\n```\n\n## Usage\n\n```\nusage: alacritty-colorscheme [-c configuration file] [-C colorscheme directory] [-V] [-h]\n                             {list,status,toggle,apply} ...\n```\n\n## Getting colorschemes\n\n- You can get colorschemes from [aaron-williamson/base16-alacritty](https://github.com/aaron-williamson/base16-alacritty)\n\n    ```bash\n    REPO=\"https://github.com/aaron-williamson/base16-alacritty.git\"\n    DEST=\"$HOME/.aarors-williamson-colorschemes\"\n\n    # Get colorschemes \n    git clone $REPO $DEST\n    # Create symlink at default colors location (optional)\n    ln -s \"$DEST/colors\" \"$HOME/.config/alacritty/colors\"\n    ```\n\n- You can also get colorschemes from from [eendroroy/alacritty-theme](https://github.com/eendroroy/alacritty-theme)\n\n    ```bash\n    REPO=https://github.com/eendroroy/alacritty-theme.git\n    DEST=\"$HOME/.eendroroy-colorschemes\"\n    # Get colorschemes\n    git clone $REPO $DEST\n    # Create symlink at default colors location (optional)\n    ln -s \"$DEST/themes\" \"$HOME/.config/alacritty/colors\"\n    ```\n\n## Sync with vim/neo-vim\n\nIf you are using base16 colorschemes from\n[base16-vim](https://github.com/chriskempson/base16-vim) plugin, you can use\nthe `-V` argument to automatically generate `~/.vimrc_background` file when you\nchange alacritty colorscheme. You will need to source this file in your vimrc\nto load the same colorscheme in vim.\n\nAdd this in your `.vimrc` file:\n\n```vim\nif filereadable(expand(\"~/.vimrc_background\"))\n  let base16colorspace=256          \" Remove this line if not necessary\n  source ~/.vimrc_background\nendif\n```\n\nWhen you change your alacritty colorscheme, you simply need to source\n`~/.vimrc_background` or your `vimrc`.\nIf you are a neo-vim user, `~/.vimrc_background` will be automatically sourced.\n\n## Examples\n\n### bash/zsh aliases\n\nAdd this in your `.zshrc` or `.bashrc` file:\n\n```bash\nLIGHT_COLOR='base16-gruvbox-light-soft.yml'\nDARK_COLOR='base16-gruvbox-dark-soft.yml'\n\nalias day=\"alacritty-colorscheme -V apply $LIGHT_COLOR\"\nalias night=\"alacritty-colorscheme -V apply $DARK_COLOR\"\nalias toggle=\"alacritty-colorscheme -V toggle $LIGHT_COLOR $DARK_COLOR\"\n```\n\n### i3wm/sway bindings\n\nAdd this in your i3 `config` file:\n\n```bash\nset $light_color base16-gruvbox-light-soft.yml\nset $dark_color base16-gruvbox-dark-soft.yml\n\n# Toggle between light and dark colorschemes\nbindsym $mod+Shift+n exec alacritty-colorscheme -V toggle $light_color $dark_color\n\n# Toggle between all available colorschemes\nbindsym $mod+Shift+m exec alacritty-colorscheme -V toggle\n\n# Get notification with current colorscheme\nbindsym $mod+Shift+b exec notify-send \"Alacritty Colorscheme\" `alacritty-colorscheme status`\n```\n\n## Development\n\n### Running locally\n\n```bash\npip install --user poetry\n\ngit clone https://github.com/toggle-corp/alacritty-colorscheme.git\ncd alacritty-colorscheme\n\npoetry install\npoetry run python -m alacritty_colorscheme.cli\n```\n\n### Installing locally\n\n```bash\npip install --user .\n```\n\n## License\n\nContent of this repository is released under the [Apache License, Version 2.0].\n\n[Apache License, Version 2.0](./LICENSE-APACHE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoggle-corp%2Falacritty-colorscheme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoggle-corp%2Falacritty-colorscheme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoggle-corp%2Falacritty-colorscheme/lists"}