From e4e9e3b440bc915b15abee33aeeb23f8194dd298 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sun, 13 Nov 2022 14:07:24 +0100 Subject: [sway+gammastep+fcitx5] start sway via systemd service on login and adjust gammastep and fcitx5 services to run after sway-session.target --- .config/yadm/bootstrap | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to '.config/yadm') 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 -- cgit v1.2.3