2024-10-01 00:19:21 +02:00
|
|
|
---
|
|
|
|
# Tmux standard configuration
|
|
|
|
|
|
|
|
- name: Creating configuration folders
|
|
|
|
ansible.builtin.file:
|
2024-10-01 09:17:39 +02:00
|
|
|
path: "{{ lookup('ansible.builtin.env', 'HOME') }}/.config/tmux/plugins"
|
2024-10-01 00:19:21 +02:00
|
|
|
state: directory
|
|
|
|
mode: '0755'
|
|
|
|
|
|
|
|
- name: Getting tpm
|
|
|
|
ansible.builtin.git:
|
2024-10-01 09:17:39 +02:00
|
|
|
# noqa: latest[git]
|
2024-10-01 00:19:21 +02:00
|
|
|
repo: https://github.com/tmux-plugins/tpm.git
|
|
|
|
depth: 1
|
2024-10-01 09:17:39 +02:00
|
|
|
dest: "{{ lookup('ansible.builtin.env', 'HOME') }}/.config/tmux/plugins/tpm"
|
2024-10-01 00:19:21 +02:00
|
|
|
|
|
|
|
- name: Linking default configuration file
|
|
|
|
ansible.builtin.file:
|
|
|
|
src: "{{ dotfdir }}/tmux.conf"
|
2024-10-01 09:17:39 +02:00
|
|
|
dest: "{{ lookup('ansible.builtin.env', 'HOME') }}/.config/tmux/tmux.conf"
|
2024-10-01 00:19:21 +02:00
|
|
|
state: link
|
|
|
|
|
|
|
|
- name: Fallback default old standard
|
|
|
|
ansible.builtin.file:
|
2024-10-01 09:17:39 +02:00
|
|
|
src: "{{ lookup('ansible.builtin.env', 'HOME') }}/.config/tmux/tmux.conf"
|
|
|
|
dest: "{{ lookup('ansible.builtin.env', 'HOME') }}/.tmux.conf"
|
2024-10-01 00:19:21 +02:00
|
|
|
state: link
|