Also put the PATH in .xprofile and .xsessionrc so that lightdm, i3, and dmenu all get the values.
This commit is contained in:
@@ -1194,9 +1194,9 @@
|
||||
{{ function_loop }}
|
||||
{{ process_notify_log }}
|
||||
|
||||
- name: General | Account Management | Users | Files | .profile
|
||||
- name: General | Account Management | Users | Files | .profile + .xsessionrc
|
||||
blockinfile:
|
||||
path: "{{ item }}/.profile"
|
||||
path: "{{ user_root.home }}/{{ item }}"
|
||||
block: |
|
||||
{{ rc_profile }}
|
||||
|
||||
@@ -1207,10 +1207,11 @@
|
||||
create: yes
|
||||
backup: no
|
||||
loop:
|
||||
- "{{ user_root.home }}"
|
||||
- "{{ user_user.home }}"
|
||||
- ".profile"
|
||||
- ".xprofile"
|
||||
- ".xsessionrc"
|
||||
ignore_errors: yes
|
||||
when: user_root.home != "" and user_user.home != ""
|
||||
when: user_user.home != ""
|
||||
|
||||
- name: General | Account Management | Users | Files | .bashrc
|
||||
blockinfile:
|
||||
|
||||
Reference in New Issue
Block a user