From 59367698d3127d1a8c43cfa42d4bee04b24965d8 Mon Sep 17 00:00:00 2001
From: neodarz <neodarz@neodarz.net>
Date: Sun, 3 Feb 2019 01:09:45 +0100
Subject: update twmn configuration

---
 install.sh                              |  6 +++---
 twmn/.config/systemd/user/twmnd.service | 12 ++++++++++++
 2 files changed, 15 insertions(+), 3 deletions(-)
 create mode 100644 twmn/.config/systemd/user/twmnd.service

diff --git a/install.sh b/install.sh
index 34901b2..0af6928 100755
--- a/install.sh
+++ b/install.sh
@@ -71,11 +71,11 @@
 
 #chsh -s $(which zsh)
 
-## The service doesn't work on my system...
-# tpac twmn
-#./stow-services services/twmnd.service
+# pikaur -S twmn-git
 #stow twmnd
+#systemctl --user enable twmnd.service
 #sed -i s/absolute_position=1920x25/absolute_position=3840x25/g ~/.config/twmn/twmn.conf
+#systemctl --user start twmnd.service
 
 #sudo pacman -S python-neovim python-twisted
 
diff --git a/twmn/.config/systemd/user/twmnd.service b/twmn/.config/systemd/user/twmnd.service
new file mode 100644
index 0000000..355d8ec
--- /dev/null
+++ b/twmn/.config/systemd/user/twmnd.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=twmn server
+After=graphical.target
+
+[Service]
+Type=simple
+StandardOutput=null
+Restart=on-failure
+ExecStart=/usr/bin/twmnd
+
+[Install]
+WantedBy=default.target
-- 
cgit v1.2.1