setup-cockpit/roles/kitty/tasks/main.yml

32 lines
653 B
YAML

---
- name: Install kitty (Archlinux)
become: true
pacman:
name:
- kitty
when: ansible_distribution == 'Archlinux'
- name: Install kitty (Debian)
become: true
apt:
name:
- kitty
when: ansible_distribution == 'Debian'
- name: Copy kitty config
copy:
src: kitty.conf
dest: ~/.config/kitty/kitty.conf
- name: Clone kitty-themes
git:
repo: https://github.com/dexpota/kitty-themes.git
dest: ~/.git_clones/kitty-themes
clone: yes
update: no
- name: Symlink the kitty theme
file:
src: ~/.git_clones/kitty-themes/themes/gruvbox_dark.conf
path: ~/.config/kitty/theme.conf
state: link