summaryrefslogtreecommitdiff
path: root/.config/s6-rc/wlsunset/run
diff options
context:
space:
mode:
Diffstat (limited to '.config/s6-rc/wlsunset/run')
-rwxr-xr-x.config/s6-rc/wlsunset/run3
1 files changed, 2 insertions, 1 deletions
diff --git a/.config/s6-rc/wlsunset/run b/.config/s6-rc/wlsunset/run
index d6a3b50..933e919 100755
--- a/.config/s6-rc/wlsunset/run
+++ b/.config/s6-rc/wlsunset/run
@@ -1,4 +1,5 @@
#!/bin/execlineb -P
fdmove -c 2 1
-s6-envdir ../sway/env
+importas -i XDG_RUNTIME_DIR XDG_RUNTIME_DIR
+s6-envdir ${XDG_RUNTIME_DIR}/wl_env
wlsunset -l 36.2 -L 81.7