aboutsummaryrefslogtreecommitdiff
path: root/.config/systemd
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2020-05-19 17:41:41 -0400
committertdro <tdro@users.noreply.github.com>2020-05-19 17:42:45 -0400
commit6f475f28d4268035be80d2d3bf8b991ea3d16036 (patch)
tree170116c4c7be26db27de948f6d6ffa629cfd7747 /.config/systemd
parent1dd0992412e7a7b34e4615ece56a1586068d2a91 (diff)
downloaddotfiles-6f475f28d4268035be80d2d3bf8b991ea3d16036.tar.gz
dotfiles-6f475f28d4268035be80d2d3bf8b991ea3d16036.tar.bz2
dotfiles-6f475f28d4268035be80d2d3bf8b991ea3d16036.zip
.config/nixpkgs/config: Use clipmenu
Diffstat (limited to '.config/systemd')
-rw-r--r--.config/systemd/user/clipmenu.service20
1 files changed, 20 insertions, 0 deletions
diff --git a/.config/systemd/user/clipmenu.service b/.config/systemd/user/clipmenu.service
new file mode 100644
index 0000000..b7ca1d5
--- /dev/null
+++ b/.config/systemd/user/clipmenu.service
@@ -0,0 +1,20 @@
+[Unit]
+Description=Clipmenu clipboard daemon
+
+[Service]
+Environment=CM_DIR=%h/.local/share
+Type=simple
+ExecStart=/usr/bin/env clipmenud
+Restart=always
+RestartSec=5s
+SyslogIdentifier=clipmenud
+
+MemoryDenyWriteExecute=yes
+NoNewPrivileges=yes
+ProtectControlGroups=yes
+ProtectKernelTunables=yes
+RestrictAddressFamilies=
+RestrictRealtime=yes
+
+[Install]
+WantedBy=default.target