summaryrefslogtreecommitdiffstats
path: root/laptop
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2024-02-27 01:33:36 -0500
committerJesse Luehrs <doy@tozt.net>2024-02-27 01:33:36 -0500
commit9983897010afdee0407ba68ba90df42878db9a3a (patch)
treebbf42ff9eb3d51d963559af05ed3f74b900110ea /laptop
parent5e72ac60a6cf34618b4262644a4f6cca9504163a (diff)
downloadconf-9983897010afdee0407ba68ba90df42878db9a3a.tar.gz
conf-9983897010afdee0407ba68ba90df42878db9a3a.zip
start splitting out some laptop-specific stuff
Diffstat (limited to 'laptop')
-rw-r--r--laptop/.config/systemd/user/watch-kbd.service6
-rw-r--r--laptop/Makefile9
2 files changed, 15 insertions, 0 deletions
diff --git a/laptop/.config/systemd/user/watch-kbd.service b/laptop/.config/systemd/user/watch-kbd.service
new file mode 100644
index 0000000..415d8fb
--- /dev/null
+++ b/laptop/.config/systemd/user/watch-kbd.service
@@ -0,0 +1,6 @@
+[Service]
+ExecStart=%h/.bin/%H/watch-kbd
+Restart=always
+
+[Install]
+WantedBy=default.target
diff --git a/laptop/Makefile b/laptop/Makefile
new file mode 100644
index 0000000..a16e3bc
--- /dev/null
+++ b/laptop/Makefile
@@ -0,0 +1,9 @@
+include ../Makefile.include
+
+install:
+ @systemctl --user enable watch-kbd
+ @systemctl --user start watch-kbd
+
+uninstall:
+ @systemctl --user stop watch-kbd
+ @systemctl --user disable watch-kbd