commit bcafb70d03b1c376ea0f6268c32a083d87212468
parent fbee1dc5ebeb5bbf1cdf537447c6f5357b70caae
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date: Sat, 19 Jan 2019 19:14:46 -0500
Add systemd settings.
Diffstat:
3 files changed, 20 insertions(+), 1 deletion(-)
diff --git a/.config/systemd/user/emacs.service.d/override.conf b/.config/systemd/user/emacs.service.d/override.conf
@@ -0,0 +1,2 @@
+[Service]
+Environment="LC_CTYPE=zh_CN.UTF-8" "XMODIFIERS=@im=fcitx" "SSH_AUTH_SOCK=%t/keyring/ssh"+
\ No newline at end of file
diff --git a/.config/systemd/user/greenclip.service b/.config/systemd/user/greenclip.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Start greenclip daemon
+After=display-manager.service
+
+[Service]
+ExecStart=/usr/bin/greenclip daemon
+Restart=always
+
+[Install]
+WantedBy=default.target+
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
@@ -21,8 +21,13 @@
!.config/rofi-pass/*
!.config/rofi/*
!.config/sway
-!.config/sway
!.config/sway/*
+!.config/systemd
+!.config/systemd/user
+!.config/systemd/user/greenclip.service
+!.config/systemd/user/emacs.service.d
+!.config/systemd/user/emacs.service.d/override.conf
+!.config/systemd/
!.config/sway/*
# Scripts and more.