From 0bd150185551b6d8835d022c15a5f6e832d51113 Mon Sep 17 00:00:00 2001 From: venomade Date: Wed, 11 Feb 2026 11:42:58 +0000 Subject: Asahi Soft reset of dotfiles specific to Asahi, Sway and Neovim. --- .config/systemd/user/.gitignore | 1 + .config/systemd/user/cliphist.service | 13 +++++++++++++ .config/systemd/user/kanata.service | 22 ++++++++++++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 .config/systemd/user/.gitignore create mode 100644 .config/systemd/user/cliphist.service create mode 100644 .config/systemd/user/kanata.service (limited to '.config/systemd/user') 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 -- cgit 1.4.1-2-gfad0