-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
99dcaf1
commit 9bc0b4f
Showing
11 changed files
with
127 additions
and
703 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
src_config_dir: "{{ ansible_env.HOME }}/dotfiles/roles/alacritty/files" | ||
dest_config_dir: "{{ ansible_env.HOME }}/.config/alacritty" | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
[colors] | ||
draw_bold_text_with_bright_colors = true | ||
|
||
[[colors.indexed_colors]] | ||
color = "0xf4a261" | ||
index = 16 | ||
|
||
[[colors.indexed_colors]] | ||
color = "0xd67ad2" | ||
index = 17 | ||
|
||
[colors.bright] | ||
black = "0x575860" | ||
blue = "0x86abdc" | ||
cyan = "0x7ad5d6" | ||
green = "0x8ebaa4" | ||
magenta = "0xbaa1e2" | ||
red = "0xd16983" | ||
white = "0xe4e4e5" | ||
yellow = "0xe0c989" | ||
|
||
[colors.normal] | ||
black = "0x393b44" | ||
blue = "0x719cd6" | ||
cyan = "0x63cdcf" | ||
green = "0x81b29a" | ||
magenta = "0x9d79d6" | ||
red = "0xc94f6d" | ||
white = "0xdfdfe0" | ||
yellow = "0xdbc074" | ||
|
||
[colors.primary] | ||
background = "0x192330" | ||
foreground = "0xcdcecf" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[cursor] | ||
blink_interval = 750 | ||
|
||
[cursor.style] | ||
blinking = "On" | ||
shape = "Block" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[font] | ||
size = 12.0 | ||
|
||
[font.bold] | ||
family = "Hack Nerd Font" | ||
|
||
[font.bold_italic] | ||
family = "Hack Nerd Font" | ||
|
||
[font.italic] | ||
family = "Hack Nerd Font" | ||
|
||
[font.normal] | ||
family = "Hack Nerd Font" | ||
|
||
[font.offset] | ||
x = 0 | ||
y = 0 | ||
|
||
[font.glyph_offset] | ||
x = 0 | ||
y = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[mouse] | ||
hide_when_typing = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[scrolling] | ||
history = 10000 | ||
multiplier = 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[selection] | ||
save_to_clipboard = false | ||
semantic_escape_chars = ",│`|:\"' ()[]{}<>\t" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[window] | ||
decorations = "full" | ||
dynamic_padding = false | ||
dynamic_title = true | ||
opacity = 0.8 | ||
startup_mode = "SimpleFullscreen" | ||
|
||
[window.dimensions] | ||
columns = 0 | ||
lines = 0 | ||
|
||
[window.padding] | ||
x = 0 | ||
y = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,25 @@ | ||
--- | ||
- name: Create alacritty config directory | ||
ansible.builtin.file: | ||
path: "{{ ansible_env.HOME }}/.config/alacritty" | ||
path: "{{ dest_config_dir }}" | ||
state: directory | ||
|
||
- name: Set configuration file | ||
- name: Set additional config files | ||
ansible.builtin.file: | ||
src: "{{ src_config_dir }}/{{ item }}" | ||
dest: "{{ dest_config_dir }}/{{ item }}" | ||
state: link | ||
force: true | ||
loop: | ||
- colors.toml | ||
- cursor.toml | ||
- font.toml | ||
- mouse.toml | ||
- scrolling.toml | ||
- selection.toml | ||
- window.toml | ||
|
||
- name: Set main config file | ||
ansible.builtin.template: | ||
src: "alacritty.yml.j2" | ||
dest: "{{ ansible_env.HOME }}/.config/alacritty/alacritty.yml" | ||
src: "alacritty.toml.j2" | ||
dest: "{{ dest_config_dir }}/alacritty.toml" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# General | ||
import = [ | ||
"~/.config/alacritty/colors.toml", | ||
"~/.config/alacritty/cursor.toml", | ||
"~/.config/alacritty/font.toml", | ||
"~/.config/alacritty/mouse.toml", | ||
"~/.config/alacritty/scrolling.toml", | ||
"~/.config/alacritty/selection.toml", | ||
"~/.config/alacritty/window.toml", | ||
] | ||
|
||
working_directory = "None" | ||
live_config_reload = true | ||
|
||
[shell] | ||
program = "/opt/homebrew/bin/{{ SHELL }}" | ||
args = ["--login"] | ||
|
||
# Env | ||
[env] | ||
TERM = "{{ TERM }}" |
Oops, something went wrong.