From 9b3374af512c399afa142e4cccb3567f8ad7690d Mon Sep 17 00:00:00 2001 From: Vivian Elisabeth H <36878099+SparkleDEV@users.noreply.github.com> Date: Fri, 23 Jan 2026 15:38:30 +0100 Subject: [PATCH] fuck systemd --- dort.sh | 13 +++++++++++-- dort.yaml | 2 +- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/dort.sh b/dort.sh index a9514a7..385d28e 100755 --- a/dort.sh +++ b/dort.sh @@ -217,10 +217,19 @@ apply_profiles() { systemctl disable --user "${systemd_user_disable[@]}" fi if ((${#systemd_wants[@]} != 0)); then - sudo systemctl add-wants "${systemd_wants[@]}" + for unit in "${systemd_wants[@]}"; do + read -r -a unit_split <<<"$unit" + sudo systemctl add-wants "${unit_split[0]}" "${unit_split[1]}" + unset unit_split + done fi if ((${#systemd_user_wants[@]} != 0)); then - systemctl add-wants --user "${systemd_user_wants[@]}" + for unit in "${systemd_user_wants[@]}"; do + read -r -a unit_split <<<"$unit" + systemctl add-wants --user "${unit_split[0]}" "${unit_split[1]}" + unset unit_split + done + fi for run_cmd in "${run_lines[@]}"; do diff --git a/dort.yaml b/dort.yaml index 4879631..b08638f 100644 --- a/dort.yaml +++ b/dort.yaml @@ -1,6 +1,6 @@ version: 1 dort: - aur: paru + aur: yay stow: true stow_force: true configs: