summaryrefslogtreecommitdiff
path: root/.config/yadm/bootstrap
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2022-11-13 14:07:24 +0100
committerDaniel Weipert <code@drogueronin.de>2023-10-30 09:52:23 +0100
commite4e9e3b440bc915b15abee33aeeb23f8194dd298 (patch)
tree6ae44af87c2e2b29486e030159e42b02640a3694 /.config/yadm/bootstrap
parentb54b546c793cd989f975e699197c20522f73e3f4 (diff)
[sway+gammastep+fcitx5] start sway via systemd service on login and adjust gammastep and fcitx5 services to run after sway-session.target
Diffstat (limited to '.config/yadm/bootstrap')
-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