aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dot_config/systemd/user
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-13 13:43:38 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-13 13:43:38 +0100
commit4b5d9fff2b42784c5c483de0f731d66f85954ba1 (patch)
tree522a2fd270538febacc891eaa5eb68f9e44c1a87 /dot_config/systemd/user
parentcf62ad254ba4c4024b84e1e86009110e1cd88572 (diff)
downloaddotfiles-4b5d9fff2b42784c5c483de0f731d66f85954ba1.tar.gz
dotfiles-4b5d9fff2b42784c5c483de0f731d66f85954ba1.tar.bz2
dotfiles-4b5d9fff2b42784c5c483de0f731d66f85954ba1.zip
fix(wob): keep fifo writer open via tail -f
Reading directly from the fifo (`wob <fifo`) makes wob exit as soon as the first wrapper closes its write end (EOF after one printf). The upstream pattern is to pipe `tail -f` into wob so there's always a writer holding the fifo open.
Diffstat (limited to 'dot_config/systemd/user')
-rw-r--r--dot_config/systemd/user/wob.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/dot_config/systemd/user/wob.service b/dot_config/systemd/user/wob.service
index 3a4268f..913136e 100644
--- a/dot_config/systemd/user/wob.service
+++ b/dot_config/systemd/user/wob.service
@@ -7,7 +7,7 @@ ConditionEnvironment=WAYLAND_DISPLAY
[Service]
Type=simple
ExecStartPre=/usr/bin/sh -c 'rm -f "$XDG_RUNTIME_DIR/wob.sock" && mkfifo "$XDG_RUNTIME_DIR/wob.sock"'
-ExecStart=/usr/bin/sh -c 'exec /usr/bin/wob <"$XDG_RUNTIME_DIR/wob.sock"'
+ExecStart=/usr/bin/sh -c 'exec tail -f "$XDG_RUNTIME_DIR/wob.sock" | /usr/bin/wob'
ExecStopPost=/usr/bin/rm -f %t/wob.sock
Restart=on-failure
RestartSec=2s