fuck systemd

This commit is contained in:
2026-01-23 15:38:30 +01:00
parent df99f65433
commit 9b3374af51
2 changed files with 12 additions and 3 deletions

13
dort.sh
View File

@@ -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

View File

@@ -1,6 +1,6 @@
version: 1
dort:
aur: paru
aur: yay
stow: true
stow_force: true
configs: