aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncaen <mail@duncano.de>2016-05-20 02:03:22 +0200
committerDuncaen <mail@duncano.de>2016-05-20 02:03:22 +0200
commit183facabb4ec731b822a5ea71849ad35cb5060ac (patch)
tree672dcc5bba689e2708098d805359889f29e51116
parentb60374a38c8bdba684f6f83e755d47d41a1e0a81 (diff)
downloaddotfiles-183facabb4ec731b822a5ea71849ad35cb5060ac.tar.gz
sv: update
l---------service.x/cwm1
l---------service.x/wallpaper1
-rw-r--r--sv/cwm/down0
-rwxr-xr-xsv/cwm/run4
-rwxr-xr-xsv/dwm/run2
l---------sv/dwm/supervise1
-rwxr-xr-xsv/runsvdir-duncan/run7
l---------sv/runsvdir-duncan/supervise1
l---------sv/snooze-fstrim/supervise1
l---------sv/snooze-xlocate/supervise1
l---------sv/ssh-agent/supervise1
l---------sv/statusbar/supervise1
l---------sv/syncthing/supervise1
l---------sv/unclutter/supervise1
l---------sv/vbox-win/supervise1
-rwxr-xr-xsv/wallpaper/run4
l---------sv/wallpaper/supervise1
l---------sv/x/supervise1
18 files changed, 27 insertions, 3 deletions
diff --git a/service.x/cwm b/service.x/cwm
new file mode 120000
index 0000000..e053409
--- /dev/null
+++ b/service.x/cwm
@@ -0,0 +1 @@
+/home/duncan/sv/cwm \ No newline at end of file
diff --git a/service.x/wallpaper b/service.x/wallpaper
new file mode 120000
index 0000000..00826f1
--- /dev/null
+++ b/service.x/wallpaper
@@ -0,0 +1 @@
+/home/duncan/sv/wallpaper/ \ No newline at end of file
diff --git a/sv/cwm/down b/sv/cwm/down
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/sv/cwm/down
diff --git a/sv/cwm/run b/sv/cwm/run
new file mode 100755
index 0000000..b4640bc
--- /dev/null
+++ b/sv/cwm/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+cd ~
+exec cwm
diff --git a/sv/dwm/run b/sv/dwm/run
index 26da386..0ad0a1e 100755
--- a/sv/dwm/run
+++ b/sv/dwm/run
@@ -1,6 +1,6 @@
#!/bin/sh
+[ ! -p /tmp/dwm.fifo ] && mkfifo /tmp/dwm.fifo
exec 2>&1
-
cd ~
exec dwm
diff --git a/sv/dwm/supervise b/sv/dwm/supervise
new file mode 120000
index 0000000..1ccd77d
--- /dev/null
+++ b/sv/dwm/supervise
@@ -0,0 +1 @@
+/run/runit.duncan/supervise.dwm \ No newline at end of file
diff --git a/sv/runsvdir-duncan/run b/sv/runsvdir-duncan/run
index af2e1d0..5de153e 100755
--- a/sv/runsvdir-duncan/run
+++ b/sv/runsvdir-duncan/run
@@ -1,5 +1,8 @@
#!/bin/sh
+[ ! -d /run/runit.duncan ] && \
+ mkdir -p /run/runit.duncan && \
+ chown duncan:duncan /run/runit.duncan
+
exec 2>&1
-# exec chpst -u duncan -e ./env runsvdir /home/duncan/service
-exec su -l -c "exec runsvdir /home/duncan/service" duncan
+exec su -l -c "exec runsvdir /home/duncan/service 'log: ...........................................................................................................................................................................................................................................................................................................................................................................................................'" duncan
diff --git a/sv/runsvdir-duncan/supervise b/sv/runsvdir-duncan/supervise
new file mode 120000
index 0000000..1798bd4
--- /dev/null
+++ b/sv/runsvdir-duncan/supervise
@@ -0,0 +1 @@
+/run/runit/supervise.runsvdir-duncan \ No newline at end of file
diff --git a/sv/snooze-fstrim/supervise b/sv/snooze-fstrim/supervise
new file mode 120000
index 0000000..d53595f
--- /dev/null
+++ b/sv/snooze-fstrim/supervise
@@ -0,0 +1 @@
+/run/runit.duncan/supervise.snooze-fstrim \ No newline at end of file
diff --git a/sv/snooze-xlocate/supervise b/sv/snooze-xlocate/supervise
new file mode 120000
index 0000000..7ba847b
--- /dev/null
+++ b/sv/snooze-xlocate/supervise
@@ -0,0 +1 @@
+/run/runit.duncan/supervise.snooze-xlocate \ No newline at end of file
diff --git a/sv/ssh-agent/supervise b/sv/ssh-agent/supervise
new file mode 120000
index 0000000..9f909e7
--- /dev/null
+++ b/sv/ssh-agent/supervise
@@ -0,0 +1 @@
+/run/runit.duncan/supervise.ssh-agent \ No newline at end of file
diff --git a/sv/statusbar/supervise b/sv/statusbar/supervise
new file mode 120000
index 0000000..1fe6d34
--- /dev/null
+++ b/sv/statusbar/supervise
@@ -0,0 +1 @@
+/run/runit.duncan/supervise.statusbar \ No newline at end of file
diff --git a/sv/syncthing/supervise b/sv/syncthing/supervise
new file mode 120000
index 0000000..43fe00d
--- /dev/null
+++ b/sv/syncthing/supervise
@@ -0,0 +1 @@
+/run/runit.duncan/supervise.syncthing \ No newline at end of file
diff --git a/sv/unclutter/supervise b/sv/unclutter/supervise
new file mode 120000
index 0000000..ac9af42
--- /dev/null
+++ b/sv/unclutter/supervise
@@ -0,0 +1 @@
+/run/runit.duncan/supervise.unclutter \ No newline at end of file
diff --git a/sv/vbox-win/supervise b/sv/vbox-win/supervise
new file mode 120000
index 0000000..59d8fac
--- /dev/null
+++ b/sv/vbox-win/supervise
@@ -0,0 +1 @@
+/run/runit.duncan/supervise.vbox-win \ No newline at end of file
diff --git a/sv/wallpaper/run b/sv/wallpaper/run
new file mode 100755
index 0000000..28b7c3e
--- /dev/null
+++ b/sv/wallpaper/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+feh --recursive --randomize --bg-fill --no-fehbg ~/.wallpaper
+exec chpst -b wallpaper pause
diff --git a/sv/wallpaper/supervise b/sv/wallpaper/supervise
new file mode 120000
index 0000000..d80c866
--- /dev/null
+++ b/sv/wallpaper/supervise
@@ -0,0 +1 @@
+/run/runit.duncan/supervise.wallpaper \ No newline at end of file
diff --git a/sv/x/supervise b/sv/x/supervise
new file mode 120000
index 0000000..a89dd8b
--- /dev/null
+++ b/sv/x/supervise
@@ -0,0 +1 @@
+/run/runit.duncan/supervise.x \ No newline at end of file