dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 06e05a5906c6a5d5d430ebc3665932398b052dd5
parent f1dff2cca82f38f22a8a51084bfd03e06a95e74e
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Sat, 30 May 2020 06:30:43 +0200

Fix typo

Diffstat:
M.local/bin/adcast | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.local/bin/adcast b/.local/bin/adcast @@ -1,12 +1,12 @@ #!/bin/sh lockfile=/tmp/adcast.pid -pass="$(gpg2 -q -d ~/.password-store/ad-server/adamsgaard.dk-icecast-source.gpg" +pass="$(gpg2 -q -d ~/.password-store/ad-server/adamsgaard.dk-icecast-source.gpg)" startcast() { ffmpeg -f sndio -ac 2 -ar 44100 -i snd/0 \ -codec libmp3lame -f mp3 \ - icecast://source:${pass}@adamsgaard.dk:3232/live >/dev/null 2>&1 & + "icecast://source:${pass}@adamsgaard.dk:3232/live" >/dev/null 2>&1 & printf '%s' "$!" > "$lockfile" sleep 1