Add wezterm setup
This commit is contained in:
parent
ceaec45f54
commit
76f102b21d
7 changed files with 87 additions and 68 deletions
|
|
@ -33,15 +33,32 @@
|
|||
state: touch
|
||||
mode: '0644'
|
||||
|
||||
- name: create alacritty configuration dir
|
||||
- name: create wezterm configuration dir
|
||||
file:
|
||||
path: '{{ xdg_config_dir }}/alacritty'
|
||||
path: '{{ xdg_config_dir }}/wezterm/includes'
|
||||
state: directory
|
||||
|
||||
- name: copy alacritty configuration
|
||||
- name: copy wezterm configuration files
|
||||
template:
|
||||
dest: '{{ xdg_config_dir }}/alacritty/alacritty.toml'
|
||||
src: 'templates/alacritty.j2'
|
||||
src: '{{ item.src }}'
|
||||
dest: '{{ item.dest }}'
|
||||
loop:
|
||||
- {
|
||||
src: 'templates/wezterm/wezterm.lua.j2',
|
||||
dest: '{{ xdg_config_dir }}/wezterm/wezterm.lua'
|
||||
}
|
||||
- {
|
||||
src: 'templates/wezterm/includes/colors.lua.j2',
|
||||
dest: '{{ xdg_config_dir }}/wezterm/includes/colors.lua'
|
||||
}
|
||||
- {
|
||||
src: 'templates/wezterm/includes/fonts.lua.j2',
|
||||
dest: '{{ xdg_config_dir }}/wezterm/includes/fonts.lua'
|
||||
}
|
||||
- {
|
||||
src: 'templates/wezterm/includes/window.lua.j2',
|
||||
dest: '{{ xdg_config_dir }}/wezterm/includes/window.lua'
|
||||
}
|
||||
|
||||
- name: enable fstrim timer
|
||||
become: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue