dot

packages and services management
Log | Files | Refs | README

commit ad8c4f6315ad100264751354c35b3d2984ec270f
parent 1634351d4d86751cf5f59114056b71055ec678e9
Author: Josuah Demangeon <mail@josuah.net>
Date:   Wed, 31 Jan 2018 00:57:24 +0100

less curses in our life...

Diffstat:
Mbin/agenda | 8++++----
Mbin/xdg-open | 6++++++
Dlib/cal | 7-------
Mlib/uri | 34++++++++++++++++++++++++++++++++--
Apack/scrypt/tar | 1+
Apack/tarsnap/tar | 1+
Mpack/tinc/build | 1+
7 files changed, 45 insertions(+), 13 deletions(-)

diff --git a/bin/agenda b/bin/agenda @@ -109,7 +109,7 @@ BEGIN { printf("%s%s\n", prefix, line[i]) | sort; }' -awk_show="${awk_date}"' +awk_view="${awk_date}"' #OFF [+-]HH BEGIN { @@ -189,11 +189,11 @@ case "${1}" in awk -v OFF="${4}" "${awk_import}" "${2}" > "${AGENDA}/${3}" ;; -(show) +(view) [ "${#}" -lt 2 ] || [ "${#}" -gt 3 ] && exec "${0}" awk -v SORT="${3:-BECLS}" "${awk_sort}" "${AGENDA}/${2}" | - awk -v OFF="$(date +%z | cut -c 1-3)" "${awk_show}" | + awk -v OFF="$(date +%z | cut -c 1-3)" "${awk_view}" | less ;; (add) @@ -221,7 +221,7 @@ case "${1}" in echo 'usage: agenda add <name> <YYYY-MM-DD-HH-MM> <YYYY-MM-DD-HH-MM>' echo ' agenda edit <name>' echo ' agenda import <file.ics> <name> [+-]<HH>' - echo ' agenda show <name> [BESCL]' + echo ' agenda view <name> [BESCL]' echo ' agenda gopher' echo '' ls -C "${AGENDA}" diff --git a/bin/xdg-open b/bin/xdg-open @@ -58,6 +58,12 @@ EOF #--- hierarchical uri ---------------------------------------------------------- +case "${host}" in +(*.onion) + exec torsocks "${0}" "${@}" + ;; +esac + case "${scheme}" in (9p) dir="${VAR}/9p/${address}" diff --git a/lib/cal b/lib/cal @@ -1,7 +0,0 @@ -#cat -2017/09/25 11:00 - [amphi] Accueil Epitech -2017/09/25 15:00 - [amphi] Présentation année -2017/09/26 15:45 - Convocation administrative -2017/09/27 14:55 - Don du sang EFS -2017/09/29 09:00 - Installation PC -2017/10/23 00:00 - RDV CNI diff --git a/lib/uri b/lib/uri @@ -2,6 +2,7 @@ gopher://bitreich.org gopher://codemadness.org gopher://drkhsh.at +gopher://fifth.space gopher://gopher.leveck.us/1/cgi-bin/pg gopher://gopher.raumzeitlabor.org/1 gopher://gopherpedia.com/7/lookup @@ -15,7 +16,6 @@ gopher://suckless.org gopher://tx.god.jp gopher://z3bra.org http://2f30.org -gopher://fifth.space http://bitreich.org:3232/live http://calomel.org http://fuwafuwa.moe @@ -48,20 +48,50 @@ http://www.3x6x.com/discography.html http://www.destroyallsoftware.com/compendium/network-protocols http://www.tldp.org/guides.html https://radio.2f30.org:8443/live.mp3 +irc://irc.cyberia.is/2f30 +irc://irc.cyberia.is/airbnb +irc://irc.cyberia.is/cyberia irc://irc.cyberia.is:6697 irc://irc.dyne.org irc://irc.efnet.org +irc://irc.efnet.org/impure +irc://irc.efnet.org/openbsd +irc://irc.efnet.org/tarsnap irc://irc.freenode.net +irc://irc.freenode.net/actux +irc://irc.freenode.net/bitreich-cooking +irc://irc.freenode.net/bitreich-de +irc://irc.freenode.net/bitreich-en +irc://irc.freenode.net/bitreich-fr +irc://irc.freenode.net/bitreich-scm +irc://irc.freenode.net/breizh-entropy +irc://irc.freenode.net/cat-v +irc://irc.freenode.net/cock.li +irc://irc.freenode.net/dataswamp +irc://irc.freenode.net/gandi +irc://irc.freenode.net/gopherproject +irc://irc.freenode.net/grifon +irc://irc.freenode.net/musl +irc://irc.freenode.net/openbsd +irc://irc.freenode.net/plan9 +irc://irc.freenode.net/runit +irc://irc.freenode.net/s6 +irc://irc.freenode.net/s6-offtopic irc://irc.hackint.org:6697 irc://irc.lainchan.org:6697 +irc://irc.oftc.net/suckless irc://irc.oftc.net:6697 +irc://irc.rezosup.net/epitech +irc://irc.rezosup.net/epitech +irc://irc.rezosup.net/epitech-rennes irc://irc.rezosup.org irc://pstyx.god.jp:6697 +irc://unix.chat/unix irc://unix.chat:6697 sftp://josuah@store.josuah.net:2222 sftp://lainon@archive.sh -ssh://josuah@rpi.josuah.net ssh://josuah@nas.josuah.net +ssh://josuah@rpi.josuah.net ssh://josuahdemangeon@grex.org ssh://root@127.0.0.1:5555 ssh://root@nas.josuah.net diff --git a/pack/scrypt/tar b/pack/scrypt/tar @@ -0,0 +1 @@ +https://www.tarsnap.com/scrypt/scrypt-1.2.1.tgz diff --git a/pack/tarsnap/tar b/pack/tarsnap/tar @@ -0,0 +1 @@ +https://www.tarsnap.com/download/tarsnap-autoconf-1.0.39.tgz diff --git a/pack/tinc/build b/pack/tinc/build @@ -5,6 +5,7 @@ case "$(uname)" in (*BSD) make=gmake ;; (*) make=make ;; esac ./configure --prefix="$OPT" \ --disable-lzo \ --disable-readline \ + --disable-curses \ --sysconfdir="${HOME}/.config" \ --localstatedir="${HOME}/.cache"