Feat: remplace tmuxinator by tmuxp and add configfiles
This commit is contained in:
parent
512a4e2fd1
commit
19ac121700
15
files/dotfiles/tmuxp/enseignement.yml
Normal file
15
files/dotfiles/tmuxp/enseignement.yml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
session_name: enseignement
|
||||||
|
start_directory: /media/documents/Cours/Prof/Enseignements/2018-2019/
|
||||||
|
shell_command_before: source config.fish
|
||||||
|
|
||||||
|
|
||||||
|
windows:
|
||||||
|
- window_name: Editor
|
||||||
|
focus: true
|
||||||
|
panes:
|
||||||
|
- vim -c NERDTree
|
||||||
|
- window_name: server
|
||||||
|
layout: main-vertical
|
||||||
|
panes:
|
||||||
|
- blank
|
||||||
|
- blank
|
10
files/dotfiles/tmuxp/mail.yml
Normal file
10
files/dotfiles/tmuxp/mail.yml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
session_name: mail
|
||||||
|
|
||||||
|
windows:
|
||||||
|
- window_name: Editor
|
||||||
|
focus: true
|
||||||
|
panes:
|
||||||
|
- neomutt
|
||||||
|
- window_name: server
|
||||||
|
panes:
|
||||||
|
- neomutt
|
20
files/dotfiles/tmuxp/mapytex.yml
Normal file
20
files/dotfiles/tmuxp/mapytex.yml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
session_name: mapytex
|
||||||
|
start_directory: ~/scripts/Mapytex/
|
||||||
|
shell_command_before: source venv/bin/activate.fish
|
||||||
|
|
||||||
|
|
||||||
|
windows:
|
||||||
|
- window_name: Editor
|
||||||
|
focus: true
|
||||||
|
panes:
|
||||||
|
- vim -c NERDTree
|
||||||
|
- window_name: Server
|
||||||
|
layout: main-vertical
|
||||||
|
panes:
|
||||||
|
- git fetch && git status
|
||||||
|
- tig
|
||||||
|
- window_name: Testing
|
||||||
|
layout: main-vertical
|
||||||
|
panes:
|
||||||
|
- blank
|
||||||
|
- blank
|
@ -4,7 +4,7 @@
|
|||||||
src: files/dotfiles/tmux.conf
|
src: files/dotfiles/tmux.conf
|
||||||
dest: /home/{{ item.username }}/.tmux.conf
|
dest: /home/{{ item.username }}/.tmux.conf
|
||||||
owner: "{{ item.username }}"
|
owner: "{{ item.username }}"
|
||||||
group: "{{ item.username }}"
|
group: "{{ item.group }}"
|
||||||
with_items: "{{ me }}"
|
with_items: "{{ me }}"
|
||||||
|
|
||||||
- name: Download antibody
|
- name: Download antibody
|
||||||
@ -29,7 +29,7 @@
|
|||||||
src: files/dotfiles/zshrc
|
src: files/dotfiles/zshrc
|
||||||
dest: /home/{{ item.username }}/.zshrc
|
dest: /home/{{ item.username }}/.zshrc
|
||||||
owner: "{{ item.username }}"
|
owner: "{{ item.username }}"
|
||||||
group: "{{ item.username }}"
|
group: "{{ item.group }}"
|
||||||
with_items: "{{ me }}"
|
with_items: "{{ me }}"
|
||||||
when: prompt == 'zsh'
|
when: prompt == 'zsh'
|
||||||
|
|
||||||
@ -38,7 +38,7 @@
|
|||||||
src: files/dotfiles/zshrc.local
|
src: files/dotfiles/zshrc.local
|
||||||
dest: /home/{{ item.username }}/.zshrc.local
|
dest: /home/{{ item.username }}/.zshrc.local
|
||||||
owner: "{{ item.username }}"
|
owner: "{{ item.username }}"
|
||||||
group: "{{ item.username }}"
|
group: "{{ item.group }}"
|
||||||
with_items: "{{ me }}"
|
with_items: "{{ me }}"
|
||||||
when: prompt == 'zsh'
|
when: prompt == 'zsh'
|
||||||
|
|
||||||
@ -47,7 +47,7 @@
|
|||||||
src: files/dotfiles/zsh_plugins.txt
|
src: files/dotfiles/zsh_plugins.txt
|
||||||
dest: /home/{{ item.username }}/.zsh_plugins.txt
|
dest: /home/{{ item.username }}/.zsh_plugins.txt
|
||||||
owner: "{{ item.username }}"
|
owner: "{{ item.username }}"
|
||||||
group: "{{ item.username }}"
|
group: "{{ item.group }}"
|
||||||
with_items: "{{ me }}"
|
with_items: "{{ me }}"
|
||||||
when: prompt == 'zsh'
|
when: prompt == 'zsh'
|
||||||
|
|
||||||
@ -56,7 +56,7 @@
|
|||||||
src: files/dotfiles/vim/
|
src: files/dotfiles/vim/
|
||||||
dest: /home/{{ item.username }}/.vim/
|
dest: /home/{{ item.username }}/.vim/
|
||||||
owner: "{{ item.username }}"
|
owner: "{{ item.username }}"
|
||||||
group: "{{ item.username }}"
|
group: "{{ item.group }}"
|
||||||
with_items: "{{ me }}"
|
with_items: "{{ me }}"
|
||||||
|
|
||||||
- name: Creates .vim/autoload/
|
- name: Creates .vim/autoload/
|
||||||
@ -70,7 +70,7 @@
|
|||||||
url: https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
url: https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||||
dest: /home/{{ item.username }}/.vim/autoload/plug.vim
|
dest: /home/{{ item.username }}/.vim/autoload/plug.vim
|
||||||
owner: "{{ item.username }}"
|
owner: "{{ item.username }}"
|
||||||
group: "{{ item.username }}"
|
group: "{{ item.group }}"
|
||||||
with_items: "{{ me }}"
|
with_items: "{{ me }}"
|
||||||
|
|
||||||
- name: Copy vimrc
|
- name: Copy vimrc
|
||||||
@ -78,7 +78,7 @@
|
|||||||
src: files/dotfiles/vimrc
|
src: files/dotfiles/vimrc
|
||||||
dest: /home/{{ item.username }}/.vimrc
|
dest: /home/{{ item.username }}/.vimrc
|
||||||
owner: "{{ item.username }}"
|
owner: "{{ item.username }}"
|
||||||
group: "{{ item.username }}"
|
group: "{{ item.group }}"
|
||||||
with_items: "{{ me }}"
|
with_items: "{{ me }}"
|
||||||
|
|
||||||
- name: Creates .ssh
|
- name: Creates .ssh
|
||||||
@ -86,7 +86,7 @@
|
|||||||
path: /home/{{ item.username }}/.ssh/
|
path: /home/{{ item.username }}/.ssh/
|
||||||
state: directory
|
state: directory
|
||||||
owner: "{{ item.username }}"
|
owner: "{{ item.username }}"
|
||||||
group: "{{ item.username }}"
|
group: "{{ item.group }}"
|
||||||
with_items: "{{ me }}"
|
with_items: "{{ me }}"
|
||||||
|
|
||||||
- name: Copy ssh user config
|
- name: Copy ssh user config
|
||||||
@ -94,7 +94,7 @@
|
|||||||
src: files/dotfiles/sshconfig
|
src: files/dotfiles/sshconfig
|
||||||
dest: /home/{{ item.username }}/.ssh/config
|
dest: /home/{{ item.username }}/.ssh/config
|
||||||
owner: "{{ item.username }}"
|
owner: "{{ item.username }}"
|
||||||
group: "{{ item.username }}"
|
group: "{{ item.group }}"
|
||||||
with_items: "{{ me }}"
|
with_items: "{{ me }}"
|
||||||
|
|
||||||
- name: Copy gitconfig
|
- name: Copy gitconfig
|
||||||
@ -102,6 +102,6 @@
|
|||||||
src: files/dotfiles/gitconfig
|
src: files/dotfiles/gitconfig
|
||||||
dest: /home/{{ item.username }}/.gitconfig
|
dest: /home/{{ item.username }}/.gitconfig
|
||||||
owner: "{{ item.username }}"
|
owner: "{{ item.username }}"
|
||||||
group: "{{ item.username }}"
|
group: "{{ item.group }}"
|
||||||
with_items: "{{ me }}"
|
with_items: "{{ me }}"
|
||||||
|
|
||||||
|
@ -14,27 +14,19 @@
|
|||||||
accept_hostkey: yes
|
accept_hostkey: yes
|
||||||
with_items: "{{ me }}"
|
with_items: "{{ me }}"
|
||||||
|
|
||||||
# - name: Install tmuxinator (Archlinux)
|
- name: Install tmuxp (Archlinux)
|
||||||
# aur:
|
pacman:
|
||||||
# name: tmuxinator
|
name:
|
||||||
# use: makepkg
|
- tmuxp
|
||||||
# skip_installed: true
|
state: present
|
||||||
# become: yes
|
when: ansible_distribution != 'Debian'
|
||||||
# become_user: aur_builder
|
|
||||||
# when: ansible_distribution != 'Debian'
|
|
||||||
# gem:
|
|
||||||
# name: tmuxinator
|
|
||||||
# state: latest
|
|
||||||
# become: yes
|
|
||||||
# become_user: "{{ me }}"
|
|
||||||
# when: not minimal and not server
|
|
||||||
|
|
||||||
- name: Copy .tmuxinator/
|
- name: Copy .tmuxp/
|
||||||
copy:
|
copy:
|
||||||
src: files/dotfiles/tmuxinator/
|
src: files/dotfiles/tmuxp/
|
||||||
dest: /home/{{ item.username }}/.tmuxinator/
|
dest: /home/{{ item.username }}/.tmuxp/
|
||||||
owner: "{{ item.username }}"
|
owner: "{{ item.username }}"
|
||||||
group: "{{ item.username }}"
|
group: "{{ item.group }}"
|
||||||
with_items: "{{ me }}"
|
with_items: "{{ me }}"
|
||||||
|
|
||||||
- name: Install mocp (Archlinux)
|
- name: Install mocp (Archlinux)
|
||||||
@ -49,7 +41,7 @@
|
|||||||
src: files/dotfiles/moc/
|
src: files/dotfiles/moc/
|
||||||
dest: /home/{{ item.username }}/.moc/
|
dest: /home/{{ item.username }}/.moc/
|
||||||
owner: "{{ item.username }}"
|
owner: "{{ item.username }}"
|
||||||
group: "{{ item.username }}"
|
group: "{{ item.group }}"
|
||||||
with_items: "{{ me }}"
|
with_items: "{{ me }}"
|
||||||
|
|
||||||
- name: Install newsboat (Archlinux)
|
- name: Install newsboat (Archlinux)
|
||||||
@ -64,7 +56,7 @@
|
|||||||
src: files/dotfiles/newsboat/
|
src: files/dotfiles/newsboat/
|
||||||
dest: /home/{{ item.username }}/.newsboat/
|
dest: /home/{{ item.username }}/.newsboat/
|
||||||
owner: "{{ item.username }}"
|
owner: "{{ item.username }}"
|
||||||
group: "{{ item.username }}"
|
group: "{{ item.group }}"
|
||||||
with_items: "{{ me }}"
|
with_items: "{{ me }}"
|
||||||
|
|
||||||
- name: Install calendar and contact synchronisation tools (Archlinux)
|
- name: Install calendar and contact synchronisation tools (Archlinux)
|
||||||
@ -81,7 +73,7 @@
|
|||||||
src: files/dotfiles/vdirsyncer/
|
src: files/dotfiles/vdirsyncer/
|
||||||
dest: /home/{{ item.username }}/.config/vdirsyncer/
|
dest: /home/{{ item.username }}/.config/vdirsyncer/
|
||||||
owner: "{{ item.username }}"
|
owner: "{{ item.username }}"
|
||||||
group: "{{ item.username }}"
|
group: "{{ item.group }}"
|
||||||
with_items: "{{ me }}"
|
with_items: "{{ me }}"
|
||||||
|
|
||||||
- name: Install imap synchroniser (Archlinux)
|
- name: Install imap synchroniser (Archlinux)
|
||||||
@ -96,5 +88,5 @@
|
|||||||
src: files/dotfiles/mbsyncrc
|
src: files/dotfiles/mbsyncrc
|
||||||
dest: /home/{{ item.username }}/.mbsyncrc
|
dest: /home/{{ item.username }}/.mbsyncrc
|
||||||
owner: "{{ item.username }}"
|
owner: "{{ item.username }}"
|
||||||
group: "{{ item.username }}"
|
group: "{{ item.group }}"
|
||||||
with_items: "{{ me }}"
|
with_items: "{{ me }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user