summaryrefslogtreecommitdiff
path: root/.config/s6-rc/sandbar
diff options
context:
space:
mode:
authorSam Nystrom <sam@samnystrom.dev>2024-10-15 13:22:36 -0400
committerSam Nystrom <sam@samnystrom.dev>2024-10-15 13:22:36 -0400
commit8309b395bf3ebd7073644058363cc19450a33e42 (patch)
treee7447f03548d963f375d579a0c624148ffe9c321 /.config/s6-rc/sandbar
parent907660d5d80fa03b3bedc455a0bb38ef83cfd60f (diff)
s6: river and stuff
Diffstat (limited to '.config/s6-rc/sandbar')
-rw-r--r--.config/s6-rc/sandbar/consumer-for1
-rw-r--r--.config/s6-rc/sandbar/dependencies.d/wayland0
-rwxr-xr-x.config/s6-rc/sandbar/finish3
-rw-r--r--.config/s6-rc/sandbar/producer-for1
-rwxr-xr-x.config/s6-rc/sandbar/run5
-rw-r--r--.config/s6-rc/sandbar/type1
6 files changed, 11 insertions, 0 deletions
diff --git a/.config/s6-rc/sandbar/consumer-for b/.config/s6-rc/sandbar/consumer-for
new file mode 100644
index 0000000..9f6b34e
--- /dev/null
+++ b/.config/s6-rc/sandbar/consumer-for
@@ -0,0 +1 @@
+statusline
diff --git a/.config/s6-rc/sandbar/dependencies.d/wayland b/.config/s6-rc/sandbar/dependencies.d/wayland
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/.config/s6-rc/sandbar/dependencies.d/wayland
diff --git a/.config/s6-rc/sandbar/finish b/.config/s6-rc/sandbar/finish
new file mode 100755
index 0000000..b22f9dc
--- /dev/null
+++ b/.config/s6-rc/sandbar/finish
@@ -0,0 +1,3 @@
+#!/command/execlineb -P
+s6-permafailon 60 10 1-255
+exit
diff --git a/.config/s6-rc/sandbar/producer-for b/.config/s6-rc/sandbar/producer-for
new file mode 100644
index 0000000..1b1bb42
--- /dev/null
+++ b/.config/s6-rc/sandbar/producer-for
@@ -0,0 +1 @@
+sandbar-log
diff --git a/.config/s6-rc/sandbar/run b/.config/s6-rc/sandbar/run
new file mode 100755
index 0000000..b9858fc
--- /dev/null
+++ b/.config/s6-rc/sandbar/run
@@ -0,0 +1,5 @@
+#!/command/execlineb -P
+fdmove -c 2 1
+importas -i XDG_RUNTIME_DIR XDG_RUNTIME_DIR
+s6-envdir ${XDG_RUNTIME_DIR}/wl_env
+pipeline { loopwhilex cat } sandbar
diff --git a/.config/s6-rc/sandbar/type b/.config/s6-rc/sandbar/type
new file mode 100644
index 0000000..5883cff
--- /dev/null
+++ b/.config/s6-rc/sandbar/type
@@ -0,0 +1 @@
+longrun