Fixes and updates

Added home variable for the home folder, defaults to username.
Edited neofetch config so it runs faster.
Added mukti and ctrl-c.club variables.
This commit is contained in:
2022-03-24 15:18:47 +00:00
parent 425ac598a4
commit fc8fc4e9c8
11 changed files with 95 additions and 63 deletions

View File

@@ -3,19 +3,19 @@
tags: [doom,emacs]
block:
- name: Remove old emacs config
file: state=absent path=/home/{{ name }}/.emacs.d
file: state=absent path={{ home }}/.emacs.d
- name: Git clone doom emacs
git:
repo: https://github.com/hlissner/doom-emacs
dest: /home/{{ name }}/.emacs.d
dest: "{{ home }}/.emacs.d"
accept_newhostkey: yes
single_branch: yes
version: master
depth: 1
- name: Install doom emacs
shell: |
chown -R {{ name }} /home/{{ name }}/.emacs.d
echo "y\ny"|su {{ name }} /home/{{ name }}/.emacs.d/bin/doom install
chown -R {{ name }} {{ home }}/.emacs.d
echo "y\ny"|su {{ name }} {{ home }}/.emacs.d/bin/doom install
#* ^ Above we answer terminal prompts
# - name: Add doom emacs config
# - name: Run doom sync