diff options
author | Daniel Weipert <code@drogueronin.de> | 2022-11-01 08:09:47 +0100 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2023-10-30 09:52:23 +0100 |
commit | 35ac00c60fcf34910d676d21285491e9dcdcca2a (patch) | |
tree | d7f4f483ee6996cb015cee72f042548b53b9ae29 /.config/fcitx5/systemd | |
parent | 7dc418d2cd468ca8e1c624839b5db3771f61688d (diff) |
[fcitx5] add systemd config
Diffstat (limited to '.config/fcitx5/systemd')
-rwxr-xr-x | .config/fcitx5/systemd/fcitx5-systemd | 3 | ||||
-rw-r--r-- | .config/fcitx5/systemd/fcitx5@.service | 9 |
2 files changed, 12 insertions, 0 deletions
diff --git a/.config/fcitx5/systemd/fcitx5-systemd b/.config/fcitx5/systemd/fcitx5-systemd new file mode 100755 index 0000000..b529eff --- /dev/null +++ b/.config/fcitx5/systemd/fcitx5-systemd @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +WAYLAND_DISPLAY=wayland-1 XDG_RUNTIME_DIR=/run/user/$(id -u) GTK_IM_MODULE=fcitx QT_IM_MODULE=fcitx XMODIFIERS=@im=fcitx /usr/bin/fcitx5 diff --git a/.config/fcitx5/systemd/fcitx5@.service b/.config/fcitx5/systemd/fcitx5@.service new file mode 100644 index 0000000..1ab45d9 --- /dev/null +++ b/.config/fcitx5/systemd/fcitx5@.service @@ -0,0 +1,9 @@ +[Unit] +Description=fcitx5 + +[Service] +User=%i +ExecStart=fcitx5-systemd + +[Install] +WantedBy=graphical.target |