From 8911aeaed7a8119a91e07e7bc5323a6325ef93bd Mon Sep 17 00:00:00 2001 From: Hyperling Date: Thu, 13 Aug 2026 19:43:22 -0700 Subject: [PATCH] xdg, add comments and a clause which only applies this to runit systems. --- tasks/workstation/shared/settings/xdg_autostart.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tasks/workstation/shared/settings/xdg_autostart.yml b/tasks/workstation/shared/settings/xdg_autostart.yml index 3ed2f2c..b1ce3d3 100644 --- a/tasks/workstation/shared/settings/xdg_autostart.yml +++ b/tasks/workstation/shared/settings/xdg_autostart.yml @@ -1,8 +1,14 @@ --- +# 2026-08-13 - Hyperling +# XDG desktop files are competing with runit and i3 config. +# Disable them on each run since updaters will put them back in place. +# Adding Hide=true supposedly works too but on Devuan the .desktop files +# are showing up as data fules, not plaintext, so just nuking for now. -- name: Workstation | Shared | Settings | XDG Autostart | Disable All +- name: Workstation | Shared | Settings | XDG Autostart | runit | 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 + when: ansible_service_mgr == "runit"