diff options
| author | venomade <venomade@venomade.com> | 2026-02-11 11:42:58 +0000 |
|---|---|---|
| committer | venomade <venomade@venomade.com> | 2026-02-11 11:42:58 +0000 |
| commit | 0bd150185551b6d8835d022c15a5f6e832d51113 (patch) | |
| tree | 10bf3f3443df49a44eb47b328b73b7e76b0a4924 /.config/systemd | |
| parent | 8d688d1107c46b6dfdcaf02fa5c9c4c8a4640e65 (diff) | |
Asahi
Soft reset of dotfiles specific to Asahi, Sway and Neovim.
Diffstat (limited to '.config/systemd')
| -rw-r--r-- | .config/systemd/user/.gitignore | 1 | ||||
| -rw-r--r-- | .config/systemd/user/cliphist.service | 13 | ||||
| -rw-r--r-- | .config/systemd/user/kanata.service | 22 |
3 files changed, 36 insertions, 0 deletions
diff --git a/.config/systemd/user/.gitignore b/.config/systemd/user/.gitignore new file mode 100644 index 0000000..419e6be --- /dev/null +++ b/.config/systemd/user/.gitignore @@ -0,0 +1 @@ +default.target.wants diff --git a/.config/systemd/user/cliphist.service b/.config/systemd/user/cliphist.service new file mode 100644 index 0000000..91ad51f --- /dev/null +++ b/.config/systemd/user/cliphist.service @@ -0,0 +1,13 @@ +[Unit] +Description=Cliphist clipboard watcher +After=graphical-session.target +PartOf=graphical-session.target + +[Service] +Type=simple +ExecStart=/usr/bin/wl-paste --watch /usr/local/bin/cliphist store +Restart=always +RestartSec=1 + +[Install] +WantedBy=default.target diff --git a/.config/systemd/user/kanata.service b/.config/systemd/user/kanata.service new file mode 100644 index 0000000..771cfed --- /dev/null +++ b/.config/systemd/user/kanata.service @@ -0,0 +1,22 @@ +[Unit] +Description=Kanata keyboard remapper +Documentation=https://github.com/jtroo/kanata + +[Service] +Environment=PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/bin +# Uncomment the 4 lines beneath this to increase process priority +# of Kanata in case you encounter lagginess when resource constrained. +# WARNING: doing so will require the service to run as an elevated user such as root. +# Implementing least privilege access is an exercise left to the reader. +# +# CPUSchedulingPolicy=rr +# CPUSchedulingPriority=99 +# IOSchedulingClass=realtime +# Nice=-20 +Type=simple +ExecStart=/usr/local/bin/kanata --cfg /home/venomade/.config/kanata/config.kbd +Restart=on-failure +RestartSec=3 + +[Install] +WantedBy=default.target |
