xdg, disable all desktop files. Do it all via runit, xsessionrc, and i3 config so that nothing conflicts.

This commit is contained in:
me
2026-08-13 17:07:56 -07:00
parent f090bcc727
commit 9557b7d99e
2 changed files with 9 additions and 0 deletions
+1
View File
@@ -167,6 +167,7 @@
- block:
- include_tasks: tasks/workstation/shared/settings/gnome.yml
- include_tasks: tasks/workstation/shared/settings/cinnamon.yml
- include_tasks: tasks/workstation/shared/settings/xdg_autostart.yml
- include_tasks: tasks/workstation/linux/cron/ansible.yml
when: ansible_system == "Linux"
@@ -0,0 +1,8 @@
---
- name: Workstation | Shared | Settings | XDG Autostart | Disable All
shell: "{{ item }}"
loop:
- mkdir -pv /etc/xdg/autostart/disabled /home/{{ user }}/.config/autostart/disabled
- mv /etc/xdg/autostart/*.desktop /etc/xdg/autostart/disabled/ || return 0
- mv /home/{{ user }}/.config/autostart/*.desktop /home/{{ user }}/.config/autostart/disabled/ || return 0