summaryrefslogtreecommitdiff
path: root/.config/yadm
diff options
context:
space:
mode:
Diffstat (limited to '.config/yadm')
-rwxr-xr-x.config/yadm/bootstrap11
1 files changed, 5 insertions, 6 deletions
diff --git a/.config/yadm/bootstrap b/.config/yadm/bootstrap
index 91f2152..6ca05e9 100755
--- a/.config/yadm/bootstrap
+++ b/.config/yadm/bootstrap
@@ -32,9 +32,8 @@ fi
# #
if command -v gammastep > /dev/null 2>&1; then
- sudo ln -s "$HOME/.config/gammastep/systemd/gammastep@.service" /etc/systemd/system/
- sudo ln -s "$HOME/.config/gammastep/systemd/gammastep-systemd" /usr/local/bin/
- sudo systemctl enable "gammastep@$USER" --now
+ sudo ln -s "$HOME/.config/gammastep/systemd/gammastep-user.service" /etc/systemd/user/
+ systemctl --user enable "gammastep-user" --now
fi
# #
@@ -42,7 +41,7 @@ fi
# #
if command -v fcitx5 > /dev/null 2>&1; then
- sudo ln -s "$HOME/.config/fcitx5/systemd/fcitx5@.service" /etc/systemd/system/
- sudo ln -s "$HOME/.config/fcitx5/systemd/fcitx5-systemd" /usr/local/bin/
- sudo systemctl enable "fcitx5@$USER" --now
+ sudo ln -s "$HOME/.config/fcitx5/systemd/fcitx5-user.service" /etc/systemd/user/
+ sudo ln -s "$HOME/.config/fcitx5/systemd/fcitx5-user.timer" /etc/systemd/user/
+ systemctl --user enable 'fcitx5-user.timer' --now
fi