summaryrefslogtreecommitdiffstats
path: root/unclutter
diff options
context:
space:
mode:
Diffstat (limited to 'unclutter')
-rw-r--r--unclutter/.config/systemd/user/unclutter.service6
-rw-r--r--unclutter/Makefile9
2 files changed, 15 insertions, 0 deletions
diff --git a/unclutter/.config/systemd/user/unclutter.service b/unclutter/.config/systemd/user/unclutter.service
new file mode 100644
index 0000000..c792aef
--- /dev/null
+++ b/unclutter/.config/systemd/user/unclutter.service
@@ -0,0 +1,6 @@
+[Service]
+ExecStart=unclutter --timeout 1
+Restart=always
+
+[Install]
+WantedBy=default.target
diff --git a/unclutter/Makefile b/unclutter/Makefile
new file mode 100644
index 0000000..04bc432
--- /dev/null
+++ b/unclutter/Makefile
@@ -0,0 +1,9 @@
+include ../Makefile.include
+
+install:
+ @systemctl --user enable unclutter
+ @systemctl --user start unclutter
+
+uninstall:
+ @systemctl --user stop unclutter
+ @systemctl --user disable unclutter