diff options
author | pryazha <pryadeiniv@mail.ru> | 2025-06-23 09:49:06 +0500 |
---|---|---|
committer | pryazha <pryadeiniv@mail.ru> | 2025-06-23 09:49:06 +0500 |
commit | 82c8e73151f7b7f6aa2d5eb06e407393bf025591 (patch) | |
tree | 1d0280b7a3e9d479706733c872bd0eb140aaff40 /.config/.runit/sv/mpd | |
parent | 55d0510313c623a5d9070b7ddc88693a63ca5c2b (diff) |
change tmux way of opening projects, also startdwm for void
Diffstat (limited to '.config/.runit/sv/mpd')
-rw-r--r-- | .config/.runit/sv/mpd/conf | 9 | ||||
-rwxr-xr-x | .config/.runit/sv/mpd/log/run | 12 | ||||
-rw-r--r-- | .config/.runit/sv/mpd/log/supervise/lock | 0 | ||||
-rw-r--r-- | .config/.runit/sv/mpd/log/supervise/pid | 1 | ||||
-rw-r--r-- | .config/.runit/sv/mpd/log/supervise/stat | 1 | ||||
-rw-r--r-- | .config/.runit/sv/mpd/log/supervise/status | bin | 0 -> 20 bytes | |||
-rwxr-xr-x | .config/.runit/sv/mpd/run | 8 | ||||
-rw-r--r-- | .config/.runit/sv/mpd/supervise/lock | 0 | ||||
-rw-r--r-- | .config/.runit/sv/mpd/supervise/pid | 1 | ||||
-rw-r--r-- | .config/.runit/sv/mpd/supervise/stat | 1 | ||||
-rw-r--r-- | .config/.runit/sv/mpd/supervise/status | bin | 0 -> 20 bytes |
11 files changed, 33 insertions, 0 deletions
diff --git a/.config/.runit/sv/mpd/conf b/.config/.runit/sv/mpd/conf new file mode 100644 index 0000000..6227036 --- /dev/null +++ b/.config/.runit/sv/mpd/conf @@ -0,0 +1,9 @@ +# -*- mode: sh; -*- + +# Additional command line arguments for pipewire(1). +OPTS='' + +# Setting this to 1 enables logging, any other value - disables. +LOGGING_ENABLE=0 +# The directory will be created for you, if logging is enabled. +LOG_DIR="$HOME/var/log/mpd" diff --git a/.config/.runit/sv/mpd/log/run b/.config/.runit/sv/mpd/log/run new file mode 100755 index 0000000..09818ce --- /dev/null +++ b/.config/.runit/sv/mpd/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 mpd-log-null cat >/dev/null +fi diff --git a/.config/.runit/sv/mpd/log/supervise/lock b/.config/.runit/sv/mpd/log/supervise/lock new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/.config/.runit/sv/mpd/log/supervise/lock diff --git a/.config/.runit/sv/mpd/log/supervise/pid b/.config/.runit/sv/mpd/log/supervise/pid new file mode 100644 index 0000000..3b2be15 --- /dev/null +++ b/.config/.runit/sv/mpd/log/supervise/pid @@ -0,0 +1 @@ +941 diff --git a/.config/.runit/sv/mpd/log/supervise/stat b/.config/.runit/sv/mpd/log/supervise/stat new file mode 100644 index 0000000..f5bdd21 --- /dev/null +++ b/.config/.runit/sv/mpd/log/supervise/stat @@ -0,0 +1 @@ +run diff --git a/.config/.runit/sv/mpd/log/supervise/status b/.config/.runit/sv/mpd/log/supervise/status Binary files differnew file mode 100644 index 0000000..0413d38 --- /dev/null +++ b/.config/.runit/sv/mpd/log/supervise/status diff --git a/.config/.runit/sv/mpd/run b/.config/.runit/sv/mpd/run new file mode 100755 index 0000000..196d848 --- /dev/null +++ b/.config/.runit/sv/mpd/run @@ -0,0 +1,8 @@ +#!/bin/sh + +# Wait for the PipeWire Pulse daemon to start. +sv check "$HOME/.runit/sv/pipewire-pulse" >/dev/null || exit 1 + +[ -r ./conf ] && . ./conf + +exec mpd --no-daemon --stderr ${OPTS:-} 2>&1 diff --git a/.config/.runit/sv/mpd/supervise/lock b/.config/.runit/sv/mpd/supervise/lock new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/.config/.runit/sv/mpd/supervise/lock diff --git a/.config/.runit/sv/mpd/supervise/pid b/.config/.runit/sv/mpd/supervise/pid new file mode 100644 index 0000000..34666ff --- /dev/null +++ b/.config/.runit/sv/mpd/supervise/pid @@ -0,0 +1 @@ +942 diff --git a/.config/.runit/sv/mpd/supervise/stat b/.config/.runit/sv/mpd/supervise/stat new file mode 100644 index 0000000..f5bdd21 --- /dev/null +++ b/.config/.runit/sv/mpd/supervise/stat @@ -0,0 +1 @@ +run diff --git a/.config/.runit/sv/mpd/supervise/status b/.config/.runit/sv/mpd/supervise/status Binary files differnew file mode 100644 index 0000000..c3e5969 --- /dev/null +++ b/.config/.runit/sv/mpd/supervise/status |