From b67b883c05f825ee112a72733f786a1efa123ad4 Mon Sep 17 00:00:00 2001 From: Sagi Dayan Date: Wed, 24 Nov 2021 12:19:49 +0200 Subject: [PATCH] Using vimx, and updated tomorrow-night alacritty theme --- files/dotfiles/alacritty.yml | 26 +++++++++++++++++--------- roles/vim_user/tasks/main.yml | 14 +++++++++++--- 2 files changed, 28 insertions(+), 12 deletions(-) diff --git a/files/dotfiles/alacritty.yml b/files/dotfiles/alacritty.yml index 0a08c75..0f26a9f 100644 --- a/files/dotfiles/alacritty.yml +++ b/files/dotfiles/alacritty.yml @@ -139,12 +139,12 @@ schemes: primary: background: '0x1d1f21' foreground: '0xc5c8c6' - + # Colors the cursor will use if `custom_cursor_colors` is true cursor: text: '0x1d1f21' cursor: '0xc5c8c6' - + # Normal colors normal: black: '0x1d1f21' @@ -155,17 +155,25 @@ schemes: magenta: '0xb294bb' cyan: '0x8abeb7' white: '0xc5c8c6' - + # Bright colors bright: black: '0x969896' - red: '0xde935f' - green: '0x282a2e' - yellow: '0x373b41' - blue: '0xb4b7b4' - magenta: '0xe0e0e0' - cyan: '0xa3685a' + red: '0xcc6666' + green: '0xb5bd68' + yellow: '0xf0c674' + blue: '0x81a2be' + magenta: '0xb294bb' + cyan: '0x8abeb7' white: '0xffffff' + + indexed_colors: + - { index: 16, color: '0xde935f' } + - { index: 17, color: '0xa3685a' } + - { index: 18, color: '0x282a2e' } + - { index: 19, color: '0x373b41' } + - { index: 20, color: '0xb4b7b4' } + - { index: 21, color: '0xe0e0e0' } # Base16 Dracula 256 - alacritty color config # Mike Barkmin (http://github.com/mikebarkmin) based on Dracula Theme (http://github.com/dracula) dracula: &drakula diff --git a/roles/vim_user/tasks/main.yml b/roles/vim_user/tasks/main.yml index cd4d6c1..7e277b1 100644 --- a/roles/vim_user/tasks/main.yml +++ b/roles/vim_user/tasks/main.yml @@ -1,8 +1,16 @@ -- name: Install vim +- name: Install vim (RHEL based) become: true package: - name: vim - state: latest + name: vim-X11 + state: present + when: ansible_facts['os_family'] == "RedHat" + +- name: Install vim (Debian based) + become: true + package: + name: vim-gnome + state: present + when: ansible_facts['os_family'] == "Debian" - name: Prepare vim... file: