update conf
This commit is contained in:
@ -15,32 +15,31 @@
|
||||
path: "{{ config_dir }}/hypr"
|
||||
state: directory
|
||||
mode: '0755'
|
||||
owner: johannes
|
||||
group: johannes
|
||||
|
||||
- name: Symlink hyprland config files
|
||||
file:
|
||||
src: "{{ role_path }}/files/hypr/{{ item }}"
|
||||
dest: "{{ config_dir }}/hypr/{{ item }}"
|
||||
src: "{{ role_path }}/files/hypr/{{ conf_file }}"
|
||||
dest: "{{ config_dir }}/hypr/{{ conf_file }}"
|
||||
state: link
|
||||
force: true
|
||||
loop:
|
||||
- hyprland.conf
|
||||
- hyprlock.conf
|
||||
- hyprpaper.conf
|
||||
# - workspaces.conf
|
||||
- scripts
|
||||
loop_control:
|
||||
loop_var: conf_file
|
||||
|
||||
- name: Symlink host-specific monitors.conf
|
||||
file:
|
||||
src: "{{ role_path }}/files/hypr/monitors_{{ ansible_hostname }}.conf"
|
||||
src: "{{ role_path }}/files/hypr/monitors_{{ ansible_facts['hostname'] }}.conf"
|
||||
dest: "{{ config_dir }}/hypr/monitors.conf"
|
||||
state: link
|
||||
force: true
|
||||
|
||||
- name: Symlink host-specific workspaces.conf
|
||||
file:
|
||||
src: "{{ role_path }}/files/hypr/workspaces_{{ ansible_hostname }}.conf"
|
||||
src: "{{ role_path }}/files/hypr/workspaces_{{ ansible_facts['hostname'] }}.conf"
|
||||
dest: "{{ config_dir }}/hypr/workspaces.conf"
|
||||
state: link
|
||||
force: true
|
||||
|
||||
Reference in New Issue
Block a user