~fredg/mybin

dd75eee63add7ee8ddb67ef67ddc87e2fde58ab1 — Fred. Galusik 2 months ago 12c277c
update to new path
1 files changed, 6 insertions(+), 3 deletions(-)

M twt
M twt => twt +6 -3
@@ 5,8 5,8 @@
# 
test -s $HOME/.dmenurc && . $HOME/.dmenurc

OUTDIR=$HOME/code/www
TWT=${OUTDIR}/twt/twtxt.txt
OUTDIR=$HOME/code/galusik.fr
TWT=${OUTDIR}/twtxt.txt
PROMPT="twtxt: "

MSG="$(xclip -o | dmenu -sb ${sb} -sf ${sf} -nb ${nb} -nf ${nf} -fn ${fn} -p "$PROMPT")" 


@@ 15,5 15,8 @@ printf '%s\t%s\n' "$(date +%FT%T%:Z)" "${MSG}" >> "${TWT}"

# upload
cd "${OUTDIR}"
make twtxt
make twtxt && \
	git add twtxt.* && \
	git commit -m "twtxt new post" && \
	git push