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 cc01c2f47a8f2f2253bf035061226cf2114fb026
parent 30185dbf937dd3ea21803783bd241aeaddb87bad
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Wed,  4 Nov 2020 08:55:25 +0100

adcast, screenrecord: do not show sndioctl output

Diffstat:
M.local/bin/adcast | 2+-
M.local/bin/screenrecord | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.local/bin/adcast b/.local/bin/adcast @@ -4,7 +4,7 @@ lockfile=/tmp/adcast.pid pass="$(gpg2 -q -d ~/.password-store/ad-server/adamsgaard.dk-icecast-source.gpg)" startcast() { - sndioctl input.level=1.0 + sndioctl -q input.level=1.0 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 & diff --git a/.local/bin/screenrecord b/.local/bin/screenrecord @@ -2,7 +2,7 @@ lockfile=/tmp/screenrecord.pid startrecording() { - sndioctl input.level=1.0 + sndioctl -q input.level=1.0 out="$HOME/tmp/screenrecord-$(date '+%Y-%m-%d_%H:%M:%S').mkv" ffmpeg -y \ -f x11grab \