summary refs log tree commit diff
path: root/.local/share/s6/wlsunset
diff options
context:
space:
mode:
Diffstat (limited to '.local/share/s6/wlsunset')
-rwxr-xr-x.local/share/s6/wlsunset/log/run3
-rwxr-xr-x.local/share/s6/wlsunset/run4
2 files changed, 5 insertions, 2 deletions
diff --git a/.local/share/s6/wlsunset/log/run b/.local/share/s6/wlsunset/log/run
new file mode 100755
index 0000000..bf6bd01
--- /dev/null
+++ b/.local/share/s6/wlsunset/log/run
@@ -0,0 +1,3 @@
+#!/bin/execlineb -P
+foreground { mkdir -p /var/log/s6/wlsunset }
+/bin/s6-log -b s1 T /var/log/s6/wlsunset
diff --git a/.local/share/s6/wlsunset/run b/.local/share/s6/wlsunset/run
index 63aaea4..095b4da 100755
--- a/.local/share/s6/wlsunset/run
+++ b/.local/share/s6/wlsunset/run
@@ -1,2 +1,2 @@
-#!/bin/execlineb -P
-wlsunset -l $HOME_LAT -L $HOME_LON -H $HOME/bin/darkmode
+#!/bin/sh
+exec wlsunset -l $HOME_LAT -L $HOME_LON -H $HOME/bin/darkmode 2>&1