summaryrefslogtreecommitdiff
path: root/.config/.runit/sv/pipewire/log/run
diff options
context:
space:
mode:
authorpryazha <pryadeiniv@mail.ru>2025-06-23 09:49:06 +0500
committerpryazha <pryadeiniv@mail.ru>2025-06-23 09:49:06 +0500
commit82c8e73151f7b7f6aa2d5eb06e407393bf025591 (patch)
tree1d0280b7a3e9d479706733c872bd0eb140aaff40 /.config/.runit/sv/pipewire/log/run
parent55d0510313c623a5d9070b7ddc88693a63ca5c2b (diff)
change tmux way of opening projects, also startdwm for void
Diffstat (limited to '.config/.runit/sv/pipewire/log/run')
-rwxr-xr-x.config/.runit/sv/pipewire/log/run12
1 files changed, 12 insertions, 0 deletions
diff --git a/.config/.runit/sv/pipewire/log/run b/.config/.runit/sv/pipewire/log/run
new file mode 100755
index 0000000..64fc800
--- /dev/null
+++ b/.config/.runit/sv/pipewire/log/run
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+[ -r ../conf ] && . ../conf
+
+if [ "${LOGGING_ENABLE}x" = "1x" ]; then
+ # Create the log directory if not exists.
+ [ -d "${LOG_DIR}" ] || mkdir -p "${LOG_DIR}"
+
+ exec svlogd -tt "${LOG_DIR}"
+else
+ exec chpst -b pipewire-log-null cat >/dev/null
+fi