fix logs
This commit is contained in:
parent
41be339450
commit
30fa651030
@ -12,4 +12,4 @@ cleanup() {
|
|||||||
}
|
}
|
||||||
trap cleanup EXIT TERM INT
|
trap cleanup EXIT TERM INT
|
||||||
|
|
||||||
exec mpv --idle --no-video --input-ipc-server="${SOCKET_PATH}" --ytdl-format=worstaudio
|
exec mpv --really-quiet --idle --no-video --input-ipc-server="${SOCKET_PATH}" --ytdl-format=worstaudio
|
||||||
|
|||||||
@ -1,16 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
set -eux
|
|
||||||
|
|
||||||
readonly SESSION=music
|
|
||||||
readonly MAINW=music
|
|
||||||
|
|
||||||
readonly WORKING_PROJECT="${HOME}"
|
|
||||||
|
|
||||||
if ! tmux has-session -t="${SESSION}"; then
|
|
||||||
tmux new-session -s "${SESSION}" -d -n "${MAINW}" -c "${WORKING_PROJECT}"
|
|
||||||
tmux rename-window -t "${SESSION}:1" "${MAINW}"
|
|
||||||
tmux send-keys -t "${SESSION}:${MAINW}.1" "player run music" Enter
|
|
||||||
fi
|
|
||||||
|
|
||||||
tmux switch-client -t "${SESSION}"
|
|
||||||
Loading…
x
Reference in New Issue
Block a user