From 91996885e982ad7723f49a973aa364adc33cef67 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Fri, 17 Jul 2026 16:52:29 -0700 Subject: [PATCH] Also put the PATH in .xprofile and .xsessionrc so that lightdm, i3, and dmenu all get the values. --- tasks/general/acct_mgmt/users.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tasks/general/acct_mgmt/users.yml b/tasks/general/acct_mgmt/users.yml index 73b79bd..f78e2d4 100644 --- a/tasks/general/acct_mgmt/users.yml +++ b/tasks/general/acct_mgmt/users.yml @@ -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: