diff --git a/playbooks/roles/fedora/packages/tasks/shell.yml b/playbooks/roles/fedora/packages/tasks/shell.yml index 8d5fb3a..b14b3ff 100644 --- a/playbooks/roles/fedora/packages/tasks/shell.yml +++ b/playbooks/roles/fedora/packages/tasks/shell.yml @@ -6,4 +6,5 @@ - tmux - neovim - emacs - state: present \ No newline at end of file + - alacritty + state: present diff --git a/playbooks/roles/shell/tasks/alacritty.yml b/playbooks/roles/shell/tasks/alacritty.yml new file mode 100644 index 0000000..fdcb9b4 --- /dev/null +++ b/playbooks/roles/shell/tasks/alacritty.yml @@ -0,0 +1,5 @@ +--- +- name: Install alacritty configuration + template: + src: templates/alacritty + dest: ~/.config/ diff --git a/playbooks/roles/shell/tasks/main.yml b/playbooks/roles/shell/tasks/main.yml index 7802987..06772ac 100644 --- a/playbooks/roles/shell/tasks/main.yml +++ b/playbooks/roles/shell/tasks/main.yml @@ -6,10 +6,11 @@ name: mfocko shell: /bin/zsh -- name: Install Nord theme for Konsole - shell: wget -O ~/.local/share/konsole/nord.colorscheme https://raw.githubusercontent.com/arcticicestudio/nord-konsole/develop/src/nord.colorscheme +# - name: Install Nord theme for Konsole +# shell: wget -O ~/.local/share/konsole/nord.colorscheme https://raw.githubusercontent.com/arcticicestudio/nord-konsole/develop/src/nord.colorscheme - include: nvim.yml - include: emacs.yml - include: zsh.yml - include: tmux.yml +- include: alacritty.yml diff --git a/playbooks/roles/shell/templates/alacritty/alacritty.yml b/playbooks/roles/shell/templates/alacritty/alacritty.yml new file mode 100755 index 0000000..76b170b --- /dev/null +++ b/playbooks/roles/shell/templates/alacritty/alacritty.yml @@ -0,0 +1,28 @@ +import: + - /home/mfocko/.config/alacritty/colors/ayu_dark.yml + +env: + TERM: alacritty + +window: + dimensions: + columns: 107 + lines: 30 + + dynamic_padding: true + decorations: none + startup_mode: Maximized + +font: + normal: + family: JetBrainsMonoNL Nerd Font + size: 13.0 + +cursor: + # Block, Underline, Beam + style: Underline + thickness: 0.33 + +key_bindings: + - key: F11 + action: ToggleFullscreen diff --git a/playbooks/roles/shell/templates/alacritty/colors/ayu_dark.yml b/playbooks/roles/shell/templates/alacritty/colors/ayu_dark.yml new file mode 100644 index 0000000..9daef4d --- /dev/null +++ b/playbooks/roles/shell/templates/alacritty/colors/ayu_dark.yml @@ -0,0 +1,25 @@ +# Ayu Dark +colors: + primary: + foreground: "#b3b1ad" + background: "#0a0e14" + + normal: + black: "#00010a" + blue: "#53bdfa" + cyan: "#90e1c6" + green: "#91b362" + magenta: "#fae994" + red: "#ea6c73" + white: "#c7c7c7" + yellow: "#f9af4f" + + bright: + black: "#686868" + blue: "#59c2ff" + cyan: "#95e6cb" + green: "#c2d94c" + magenta: "#ffee99" + red: "#f07178" + white: "#ffffff" + yellow: "#ffb454" diff --git a/playbooks/roles/shell/templates/alacritty/colors/ayu_mirage.yml b/playbooks/roles/shell/templates/alacritty/colors/ayu_mirage.yml new file mode 100644 index 0000000..b6f6891 --- /dev/null +++ b/playbooks/roles/shell/templates/alacritty/colors/ayu_mirage.yml @@ -0,0 +1,25 @@ +# Ayu Mirage +colors: + primary: + foreground: "#cbccc6" + background: "#1f2430" + + normal: + black: "#191e2a" + blue: "#6dcbfa" + cyan: "#90e1c6" + green: "#a6cc70" + magenta: "#cfbafa" + red: "#ed8274" + white: "#c7c7c7" + yellow: "#fad07b" + + bright: + black: "#686868" + blue: "#73d0ff" + cyan: "#95e6cb" + green: "#bae67e" + magenta: "#d4bfff" + red: "#f28779" + white: "#ffffff" + yellow: "#ffd580" diff --git a/playbooks/roles/shell/templates/alacritty/colors/default.yml b/playbooks/roles/shell/templates/alacritty/colors/default.yml new file mode 100644 index 0000000..2c0a158 --- /dev/null +++ b/playbooks/roles/shell/templates/alacritty/colors/default.yml @@ -0,0 +1,27 @@ +colors: + # Default colors + primary: + background: "#333333" + foreground: "#F2F2F2" + + # Normal colors + normal: + black: "#333333" + red: "#CC0000" + green: "#4E9A06" + yellow: "#C4A000" + blue: "#3465A4" + magenta: "#75507B" + cyan: "#06989A" + white: "#D3D7CF" + + # Bright colors + bright: + black: "#88807C" + red: "#F15D22" + green: "#73C48F" + yellow: "#FFCE51" + blue: "#48B9C7" + magenta: "#AD7FA8" + cyan: "#34E2E2" + white: "#EEEEEC" diff --git a/playbooks/roles/shell/templates/alacritty/colors/night_owl.yml b/playbooks/roles/shell/templates/alacritty/colors/night_owl.yml new file mode 100644 index 0000000..174c1c9 --- /dev/null +++ b/playbooks/roles/shell/templates/alacritty/colors/night_owl.yml @@ -0,0 +1,26 @@ +# Night Owl +colors: + primary: + foreground: "#d6deeb" + # background: '#011627' # for Night Owl + background: "#000000" # for Night Owl Black + + normal: + black: "#011627" + blue: "#82AAFF" + cyan: "#21c7a8" + green: "#22da6e" + magenta: "#C792EA" + red: "#EF5350" + white: "#ffffff" + yellow: "#c5e478" + + bright: + black: "#575656" + blue: "#82AAFF" + cyan: "#7fdbca" + green: "#22da6e" + magenta: "#C792EA" + red: "#EF5350" + white: "#ffffff" + yellow: "#ffeb95" diff --git a/playbooks/roles/shell/templates/alacritty/colors/ocean.yml b/playbooks/roles/shell/templates/alacritty/colors/ocean.yml new file mode 100644 index 0000000..cbc5bf3 --- /dev/null +++ b/playbooks/roles/shell/templates/alacritty/colors/ocean.yml @@ -0,0 +1,25 @@ +# Ocean +colors: + primary: + foreground: "#8F93A2" + background: "#0F111A" + + normal: + black: "#000000" + blue: "#3A75C4" + cyan: "#87D3F8" + green: "#14B37D" + magenta: "#703FAF" + red: "#E25822" + white: "#FFFFFF" + yellow: "#F2F27A" + + bright: + black: "#3A75C4" + blue: "#3A75C4" + cyan: "#87D3F8" + green: "#14B37D" + magenta: "#703FAF" + red: "#E25822" + white: "#F3EFE0" + yellow: "#F2F27A" diff --git a/playbooks/roles/shell/templates/alacritty/colors/outrun_electric.yml b/playbooks/roles/shell/templates/alacritty/colors/outrun_electric.yml new file mode 100644 index 0000000..af17bb3 --- /dev/null +++ b/playbooks/roles/shell/templates/alacritty/colors/outrun_electric.yml @@ -0,0 +1,25 @@ +# Outrun Electric +colors: + primary: + foreground: "#e4eeff" + background: "#090819" + + normal: + black: "#283034" + red: "#ff2e97" + green: "#62a9cf" + yellow: "#ffd400" + blue: "#42c6ff" + magenta: "#ff2afc" + cyan: "#42c6ff" + white: "#d9e0e9" + + bright: + black: "#435056" + red: "#ff2e97" + green: "#add0e5" + yellow: "#ffd400" + blue: "#42c6ff" + magenta: "#ff2afc" + cyan: "#42c6ff" + white: "#f4f6f9" diff --git a/playbooks/roles/shell/templates/alacritty/colors/rainier.yml b/playbooks/roles/shell/templates/alacritty/colors/rainier.yml new file mode 100644 index 0000000..8ab15a7 --- /dev/null +++ b/playbooks/roles/shell/templates/alacritty/colors/rainier.yml @@ -0,0 +1,25 @@ +# Rainier +colors: + primary: + foreground: "#b3c8dc" + background: "#171d23" + + normal: + black: "#171d23" + blue: "#509ddb" + cyan: "#509ddb" + green: "#37c2b6" + magenta: "#b9346c" + red: "#b9346c" + white: "#b3c8dc" + yellow: "#c9c994" + + bright: + black: "#627d96" + blue: "#509ddb" + cyan: "#509ddb" + green: "#37c2b6" + magenta: "#9d79d8" + red: "#b9346c" + white: "#f2f2f2" + yellow: "#d6af78" diff --git a/playbooks/roles/shell/templates/alacritty/colors/rainier_retro.yml b/playbooks/roles/shell/templates/alacritty/colors/rainier_retro.yml new file mode 100644 index 0000000..b63c600 --- /dev/null +++ b/playbooks/roles/shell/templates/alacritty/colors/rainier_retro.yml @@ -0,0 +1,25 @@ +# Rainier - Retro +colors: + primary: + foreground: "#b9d3e9" + background: "#201825" + + normal: + black: "#201825" + blue: "#509ddb" + cyan: "#509ddb" + green: "#37c2b6" + magenta: "#b9346c" + red: "#b9346c" + white: "#b9d3e9" + yellow: "#c9c994" + + bright: + black: "#7B6296" + blue: "#509ddb" + cyan: "#509ddb" + green: "#37c2b6" + magenta: "#9d79d8" + red: "#b9346c" + white: "#f2f2f2" + yellow: "#d6af78"