2020-03-30 19:36:05 +01:00
|
|
|
- name: Install shell packages
|
2019-03-14 21:34:29 +00:00
|
|
|
aur:
|
|
|
|
skip_installed: true
|
|
|
|
name: "{{ item }}"
|
|
|
|
become: true
|
|
|
|
become_user: aur_builder
|
2020-03-30 19:36:05 +01:00
|
|
|
when: item not in installed_packages.stdout_lines
|
2019-12-09 21:09:00 +00:00
|
|
|
loop:
|
2020-04-15 08:50:11 +01:00
|
|
|
- advanced-ssh-config
|
|
|
|
- alacritty
|
2019-05-28 21:43:56 +01:00
|
|
|
- arch-install-scripts
|
2020-04-15 08:50:11 +01:00
|
|
|
- bat
|
|
|
|
- catimg
|
|
|
|
- climate
|
|
|
|
- cmatrix
|
|
|
|
- exa
|
|
|
|
- fd
|
|
|
|
- fpp
|
|
|
|
- htop
|
|
|
|
- jshon
|
|
|
|
- jq
|
|
|
|
- nnn
|
|
|
|
- oh-my-zsh-git
|
|
|
|
- pazi
|
|
|
|
- perl-file-mimeinfo
|
|
|
|
- pigz
|
|
|
|
- pipes.sh
|
|
|
|
- playerctl
|
|
|
|
- progress
|
|
|
|
- reptyr
|
|
|
|
- ripgrep
|
|
|
|
- scrcpy
|
|
|
|
- screenfetch
|
|
|
|
- speedtest-cli
|
|
|
|
- sl
|
|
|
|
- terminator
|
|
|
|
- thefuck
|
|
|
|
- tmux
|
2020-04-15 09:11:55 +01:00
|
|
|
- tmux-xpanes
|
2020-04-15 08:50:11 +01:00
|
|
|
- ruby-tmuxinator
|
|
|
|
- xclip
|
|
|
|
- xsel
|
|
|
|
- zsh
|
|
|
|
- zsh-completions
|
|
|
|
- zsh-doc
|
|
|
|
- zsh-syntax-highlighting
|
2019-03-14 21:34:29 +00:00
|
|
|
|
2019-05-25 16:50:09 +01:00
|
|
|
- name: Install ZSH config
|
|
|
|
template:
|
2018-09-10 20:08:35 +01:00
|
|
|
src: ./files/zshrc/.zshrc
|
2018-09-17 17:22:15 +01:00
|
|
|
dest: "{{ home }}/.zshrc"
|
2018-09-10 20:08:35 +01:00
|
|
|
mode: 0644
|
2018-09-17 17:22:15 +01:00
|
|
|
owner: "{{ user }}"
|
2020-03-30 19:36:05 +01:00
|
|
|
validate: zsh -n %s
|
2018-09-18 13:19:31 +01:00
|
|
|
backup: true
|
|
|
|
trim_blocks: false
|
2018-09-10 20:08:35 +01:00
|
|
|
|
2019-05-25 16:50:09 +01:00
|
|
|
- name: Install global environmetn variables
|
|
|
|
template:
|
2018-09-10 20:08:35 +01:00
|
|
|
src: ./files/global-environment
|
|
|
|
dest: /etc/environment
|
|
|
|
mode: 0644
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
|
2019-05-25 16:50:09 +01:00
|
|
|
- name: Install tmux config
|
|
|
|
template:
|
2018-09-10 20:08:35 +01:00
|
|
|
src: ./files/tmux.conf
|
2018-09-17 17:22:15 +01:00
|
|
|
dest: "{{ home }}/.tmux.conf"
|
2018-09-10 20:08:35 +01:00
|
|
|
mode: 0755
|
2018-09-17 17:22:15 +01:00
|
|
|
owner: "{{ user }}"
|
2018-09-10 20:08:35 +01:00
|
|
|
group: users
|
2018-12-03 22:00:17 +00:00
|
|
|
|
2019-11-04 20:09:04 +00:00
|
|
|
- name: Install tmux packages
|
2019-05-25 16:50:09 +01:00
|
|
|
git:
|
2019-11-04 20:09:04 +00:00
|
|
|
repo: "{{ item }}"
|
|
|
|
dest: "{{ home }}/.tmux/plugins/{{ item.split('/')[-1] }}"
|
2018-12-03 22:00:17 +00:00
|
|
|
force: true
|
|
|
|
become: true
|
|
|
|
become_user: "{{ user }}"
|
2019-12-09 21:09:00 +00:00
|
|
|
loop:
|
2019-11-04 20:09:04 +00:00
|
|
|
- https://github.com/jimeh/tmux-themepack
|
|
|
|
- https://github.com/tmux-plugins/tmux-yank
|
|
|
|
- https://github.com/tmux-plugins/tmux-sensible
|
|
|
|
- https://github.com/tmux-plugins/tmux-fpp
|
2019-03-14 21:34:29 +00:00
|
|
|
|
2020-03-30 19:36:05 +01:00
|
|
|
- name: Create alacritty config directory
|
2019-03-14 21:34:29 +00:00
|
|
|
file:
|
2020-03-30 19:36:05 +01:00
|
|
|
path: "{{ home }}/.config/alacritty/"
|
2019-03-14 21:34:29 +00:00
|
|
|
state: directory
|
|
|
|
owner: "{{ user }}"
|
|
|
|
mode: 0755
|
|
|
|
|
2020-03-30 19:36:05 +01:00
|
|
|
- name: Create alacritty config
|
2019-03-14 21:34:29 +00:00
|
|
|
copy:
|
2020-03-30 19:36:05 +01:00
|
|
|
src: ./files/alacritty.yml
|
|
|
|
dest: "{{ home }}/.config/alacritty/alacritty.yml"
|
2019-03-14 21:34:29 +00:00
|
|
|
mode: 0644
|
|
|
|
owner: "{{ user }}"
|
|
|
|
|
|
|
|
|
2020-03-30 19:36:05 +01:00
|
|
|
- name: Create terminator directory
|
2019-03-14 21:34:29 +00:00
|
|
|
file:
|
2020-03-30 19:36:05 +01:00
|
|
|
path: "{{ home }}/.config/terminator/"
|
2019-03-14 21:34:29 +00:00
|
|
|
state: directory
|
|
|
|
owner: "{{ user }}"
|
|
|
|
mode: 0755
|
|
|
|
|
2020-03-30 19:36:05 +01:00
|
|
|
- name: Create alacritty config
|
2019-03-14 21:34:29 +00:00
|
|
|
copy:
|
2020-03-30 19:36:05 +01:00
|
|
|
src: ./files/terminator.conf
|
|
|
|
dest: "{{ home }}/.config/terminator/config"
|
2019-03-14 21:34:29 +00:00
|
|
|
mode: 0644
|
|
|
|
owner: "{{ user }}"
|
2019-05-12 11:49:20 +01:00
|
|
|
|
2019-05-25 16:50:09 +01:00
|
|
|
- name: Install tmuxinator config
|
|
|
|
copy:
|
2019-05-12 11:49:20 +01:00
|
|
|
src: ./files/tmuxinator
|
2019-07-30 08:49:17 +01:00
|
|
|
dest: "{{ home }}/.config"
|
|
|
|
mode: 0644
|
2019-05-12 11:49:20 +01:00
|
|
|
owner: "{{ user }}"
|
|
|
|
group: users
|
2019-07-30 08:49:17 +01:00
|
|
|
directory_mode: 0755
|
2019-05-24 22:44:10 +01:00
|
|
|
|
2019-09-04 09:15:04 +01:00
|
|
|
- name: Install custom scripts
|
|
|
|
copy:
|
|
|
|
src: ./files/bin
|
2020-03-30 19:36:05 +01:00
|
|
|
dest: /usr/local
|
2019-09-04 09:15:04 +01:00
|
|
|
mode: 0755
|
|
|
|
directory_mode: 0755
|
|
|
|
|
2019-05-24 22:44:10 +01:00
|
|
|
- name: Set vconsole keyboard
|
|
|
|
lineinfile:
|
|
|
|
path: /etc/vconsole.conf
|
|
|
|
state: present
|
2020-03-30 19:36:05 +01:00
|
|
|
line: KEYMAP=uk
|
2019-05-27 16:30:28 +01:00
|
|
|
create: true
|