Skip to content

Commit

Permalink
Install JetBrains Mono Nerd Fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Lievano committed Jul 27, 2022
1 parent 65176b9 commit dd7657c
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 38 deletions.
24 changes: 11 additions & 13 deletions tasks/core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,21 @@
become: yes
apt:
name:
- acpi
- ccache
- compton
- curl
- dconf-editor
- htop
- golang
- lsof
- i3
- ccache
- lsof
- moreutils
- ninja-build
- python3-pip
- dconf-editor
- nvidia-settings
- pavucontrol
- moreutils
- mate-desktop-environment
- mate-desktop-environment-extras
- ubuntu-mate-themes
- python3-pip
- rofi
- zsh

- name: Apt Install Clang
Expand All @@ -53,8 +52,7 @@

- name: mate i3
when: ansible_facts['os_family'] == "Debian"
shell: dconf write /org/mate/desktop/session/required-components/windowmanager "'i3'"

- name: mate disable desktop icons
when: ansible_facts['os_family'] == "Debian"
shell: dconf write /org/mate/desktop/background/show-desktop-icons "false"
shell: >
dconf write /org/mate/desktop/session/required-components/windowmanager "'i3'" && \
dconf write /org/mate/desktop/session/required-components-list "['windowmanager', 'panel']" && \
dconf write /org/mate/desktop/background/show-desktop-icons "false"
34 changes: 9 additions & 25 deletions tasks/fonts.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,19 @@
- name: Install Iosevka Term SS15 Fonts in Debian
when: ansible_facts['os_family'] == "Debian"
- name: Install Iosevka Term SS15 Fonts
ansible.builtin.copy:
src: "{{ lookup('env', 'HOME') }}/personal/dotfiles/fonts/iosevka-term-ss15/"
dest: "{{ lookup('env', 'HOME') }}/.fonts/"
dest: "{{ fonts_path }}"

- name: Install Iosevka Term SS15 Fonts in Darwin
when: ansible_facts['os_family'] == "Darwin"
ansible.builtin.copy:
src: "{{ lookup('env', 'HOME') }}/personal/dotfiles/fonts/iosevka-term-ss15/"
dest: "{{ lookup('env', 'HOME') }}/Library/Fonts/"

- name: Install Iosevka Term Nerd Fonts in Debian
when: ansible_facts['os_family'] == "Debian"
- name: Install Iosevka Term Nerd Fonts
ansible.builtin.copy:
src: "{{ lookup('env', 'HOME') }}/personal/dotfiles/fonts/iosevka-term-nerd-font/"
dest: "{{ lookup('env', 'HOME') }}/.fonts/"
dest: "{{ fonts_path }}"

- name: Install Iosevka Term Nerd Fonts in Darwin
when: ansible_facts['os_family'] == "Darwin"
ansible.builtin.copy:
src: "{{ lookup('env', 'HOME') }}/personal/dotfiles/fonts/iosevka-term-nerd-font/"
dest: "{{ lookup('env', 'HOME') }}/Library/Fonts/"

- name: Install Jetbrains Mono in Debian
when: ansible_facts['os_family'] == "Debian"
- name: Install Jetbrains Mono
ansible.builtin.copy:
src: "{{ lookup('env', 'HOME') }}/personal/dotfiles/fonts/jetbrains-mono/"
dest: "{{ lookup('env', 'HOME') }}/.fonts/"
dest: "{{ fonts_path }}"

- name: Install Jetbrains Mono in Darwin
when: ansible_facts['os_family'] == "Darwin"
- name: Install Jetbrains Mono Nerd Fonts
ansible.builtin.copy:
src: "{{ lookup('env', 'HOME') }}/personal/dotfiles/fonts/jetbrains-mono/"
dest: "{{ lookup('env', 'HOME') }}/Library/Fonts"
src: "{{ lookup('env', 'HOME') }}/personal/dotfiles/fonts/jetbrains-mono-nerd-fonts/"
dest: "{{ fonts_path }}"
1 change: 1 addition & 0 deletions vars/Darwin.yml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
kitty_app_path: "/Applications/kitty.app"
fonts_path: "{{ lookup('env', 'HOME') }}/Library/Fonts/"
1 change: 1 addition & 0 deletions vars/Debian.yml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
kitty_app_path: "{{ lookup('env', 'HOME') }}/.local/kitty.app"
fonts_path: "{{ lookup('env', 'HOME') }}/.fonts/"

0 comments on commit dd7657c

Please sign in to comment.