Also put the PATH in .xprofile and .xsessionrc so that lightdm, i3, and dmenu all get the values.

This commit is contained in:
2026-07-17 16:52:29 -07:00
parent a8d0e2c7bb
commit 91996885e9
+6 -5
View File
@@ -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: