dot

packages and services management
Log | Files | Refs | README

commit af62d055388effdcdc50ba26939dc901f27e8668
parent f09e96359b953be364c81c810e45b0fcf03df6d7
Author: Josuah Demangeon <mail@josuah.net>
Date:   Sun,  7 Jan 2018 23:36:04 +0100

flatter configuration

Diffstat:
Mbin/etc | 3+++
Mbin/mblaze-filter | 110++++++++++++++++++++++++++++++++++++++++----------------------------------------
Mbin/xdg-open | 2+-
Ddot/config/enchive/enchive.pub | 2--
Ddot/config/enchive/enchive.sec | 2--
Mdot/msmtprc | 5+++--
Rdot/config/git/config -> git/config | 0
Rdot/config/mblaze/filter -> mblaze/filter | 0
Rdot/config/mblaze/profile -> mblaze/profile | 0
Askel/exports | 4++++
Rdot/config/twt -> twt | 0
Rdot/config/wpa_supplicant -> wpa_supplicant | 0
12 files changed, 66 insertions(+), 62 deletions(-)

diff --git a/bin/etc b/bin/etc @@ -3,6 +3,9 @@ ETC=$(cd "${0%/*}/.." && pwd) case $1 in (dot) + cd "$ETC" || exit 1 + find * -type d -exec mkdir -p "$HOME/.config/{}" ';' + find * ! -type d -exec ln -fs "$ETC/{}" "$HOME/.config/{}" ';' cd "$ETC/dot" || exit 1 find * -type d -exec mkdir -p "$HOME/.{}" ';' find * ! -type d -exec ln -fs "$ETC/dot/{}" "$HOME/.{}" ';' diff --git a/bin/mblaze-filter b/bin/mblaze-filter @@ -3,66 +3,66 @@ minc "$MAILDIR/INBOX" > /dev/null -while read -r dir test +while read -r dir header glob do mkdir -p "$MAILDIR/$dir/cur" mkdir -p "$MAILDIR/$dir/new" mkdir -p "$MAILDIR/$dir/tmp" printf '%-25s' "$dir" - mlist "$MAILDIR/INBOX" | mpick -t "$test" | + mlist "$MAILDIR/INBOX" | mpick -t "$header ~~~ $glob" | xargs -rI % mv % "$MAILDIR/$dir/new" done << 'EOF' 2>&1 -actux.eu.org "List-Id" ~~~ "*@actux.eu.org*" -amazon.com "From" ~~~ "*@amazon.*" -amnesty.org "From" ~~~ "*amnesty.*" -bandcamp.com "From" ~~~ "*Cryo Chamber*" -bandcamp.com "From" ~~~ "*makeupandvanityset.com*" -bandcamp.com "From" ~~~ "*bandcamp.com*" -breizh-entropy.org "List-Id" ~~~ "*breizh-entropy.org*" -coinbase.com "From" ~~~ "*coinbase.com*" -crous-rennes.fr "From" ~~~ "*crous-rennes.fr*" -dropbox.com "From" ~~~ "*dropbox.*" -ebay.com "From" ~~~ "*ebay.*" -epitech.eu/bde "From" ~~~ "*bde.epitech.rennes@gmail.com*" -epitech.eu/intra "From" ~~~ "*@intra.epitech.eu*" -epitech.eu/marvin "From" ~~~ "*nao.marvin@epitech.eu*" -epitech.eu/@ "From" ~~~ "*@epitech.eu*" -epitech.eu/@ "From" ~~~ "*ionis-group.org*" -free.fr "From" ~~~ "*@free-mobile.fr*" -freebsd.org "From" ~~~ "*freebsd.org*" -fsf.org "From" ~~~ "*fsf.org*" -gandi.net "From" ~~~ "*gandi.net*" -github.com "From" ~~~ "*github.com*" -gobolinux.org "List-Id" ~~~ "*gobolinux.org*" -google.com "From" ~~~ "*google.com*" -gopherproject.org "List-Id" ~~~ "*gopher-project*" -grifon.fr "List-Id" ~~~ "*grifon.fr*" -keybase.io "From" ~~~ "*keybase.io*" -lobste.rs "From" ~~~ "*@lobste.rs*" -netsukuku.freaknet.org "List-Id" ~~~ "*netsukuku.lists.dyne.org*" -nixers.net "From" ~~~ "*@nixers.net*" -noip.com "From" ~~~ "*@noip.com*" -openbsd.org/advocacy "List-ID" ~~~ "*advocacy.openbsd.org*" -openbsd.org/announce "List-ID" ~~~ "*announce.openbsd.org*" -openbsd.org/tech "List-ID" ~~~ "*tech.openbsd.org*" -paypal.com "From" ~~~ "*paypal.*" -reddit.com "From" ~~~ "*@reddit.*" -repo.or.cz "Subject" ~~~ "*\[repo.or.cz\]*" -researchgate.net "From" ~~~ "*@researchgate.*" -researchgate.net "From" ~~~ "*@researchgatemail.*" -sabotage.tech "Mailing-List" ~~~ "*sabotage*@lists.openwall.com*" -suckless.org "List-Id" ~~~ "*suckless.org*" -transports "From" ~~~ "*@captaintrain.com*" -transports "From" ~~~ "*BlaBlaCar*" -transports "From" ~~~ "*flixbus*" -transports "From" ~~~ "*keolis.com*" -transports "From" ~~~ "*megabus*" -transports "From" ~~~ "*ouibus*" -transports "From" ~~~ "*ouigo*" -transports "From" ~~~ "*sncf.com*" -transports "From" ~~~ "*oui.sncf*" -univ-rennes1.fr "List-Id" ~~~ "*univ-rennes1.fr*" -wordpress.com "From" ~~~ "*wordpress.com*" -yammer.com "From" ~~~ "*yammer.com*" -youtube.com "From" ~~~ "*youtube.com*" +actux.eu.org "List-Id" "*@actux.eu.org*" +amazon.com "From" "*@amazon.*" +amnesty.org "From" "*amnesty.*" +bandcamp.com "From" "*Cryo Chamber*" +bandcamp.com "From" "*makeupandvanityset.com*" +bandcamp.com "From" "*bandcamp.com*" +breizh-entropy.org "List-Id" "*breizh-entropy.org*" +coinbase.com "From" "*coinbase.com*" +crous-rennes.fr "From" "*crous-rennes.fr*" +dropbox.com "From" "*dropbox.*" +ebay.com "From" "*ebay.*" +epitech.eu/bde "From" "*bde.epitech.rennes@gmail.com*" +epitech.eu/intra "From" "*@intra.epitech.eu*" +epitech.eu/marvin "From" "*nao.marvin@epitech.eu*" +epitech.eu/@ "From" "*@epitech.eu*" +epitech.eu/@ "From" "*ionis-group.org*" +free.fr "From" "*@free-mobile.fr*" +freebsd.org "From" "*freebsd.org*" +fsf.org "From" "*fsf.org*" +gandi.net "From" "*gandi.net*" +github.com "From" "*github.com*" +gobolinux.org "List-Id" "*gobolinux.org*" +google.com "From" "*google.com*" +gopherproject.org "List-Id" "*gopher-project*" +grifon.fr "List-Id" "*grifon.fr*" +keybase.io "From" "*keybase.io*" +lobste.rs "From" "*@lobste.rs*" +netsukuku.freaknet.org "List-Id" "*netsukuku.lists.dyne.org*" +nixers.net "From" "*@nixers.net*" +noip.com "From" "*@noip.com*" +openbsd.org/advocacy "List-ID" "*advocacy.openbsd.org*" +openbsd.org/announce "List-ID" "*announce.openbsd.org*" +openbsd.org/tech "List-ID" "*tech.openbsd.org*" +paypal.com "From" "*paypal.*" +reddit.com "From" "*@reddit.*" +repo.or.cz "Subject" "*\[repo.or.cz\]*" +researchgate.net "From" "*@researchgate.*" +researchgate.net "From" "*@researchgatemail.*" +sabotage.tech "Mailing-List" "*sabotage*@lists.openwall.com*" +suckless.org "List-Id" "*suckless.org*" +transports "From" "*@captaintrain.com*" +transports "From" "*BlaBlaCar*" +transports "From" "*flixbus*" +transports "From" "*keolis.com*" +transports "From" "*megabus*" +transports "From" "*ouibus*" +transports "From" "*ouigo*" +transports "From" "*sncf.com*" +transports "From" "*oui.sncf*" +univ-rennes1.fr "List-Id" "*univ-rennes1.fr*" +wordpress.com "From" "*wordpress.com*" +yammer.com "From" "*yammer.com*" +youtube.com "From" "*youtube.com*" EOF diff --git a/bin/xdg-open b/bin/xdg-open @@ -77,7 +77,7 @@ case $scheme in ;; (http|https) case $host in - (vimeo.com|*youtube.com|*youtu.be) + (vimeo.com|*youtube.com|*youtu.be|*openload.co*) mkdir -p "$HOME/lib/http/video/$host" cd "$HOME/lib/http/video/$host" exec youtube-dl "$1" diff --git a/dot/config/enchive/enchive.pub b/dot/config/enchive/enchive.pub @@ -1 +0,0 @@ -/mnt/key/enchive.pub- \ No newline at end of file diff --git a/dot/config/enchive/enchive.sec b/dot/config/enchive/enchive.sec @@ -1 +0,0 @@ -/mnt/key/enchive.sec- \ No newline at end of file diff --git a/dot/msmtprc b/dot/msmtprc @@ -1,12 +1,13 @@ defaults +tls on +tls_certcheck off account mail@josuah.net host mail.gandi.net from mail@josuah.net user mail@josuah.net auth on -tls on -tls_certcheck off +passwordeval "enchive -a$((3600*12)) extract /mnt/key/vault/mpop /dev/stdout" logfile ~/var/log/msmtp account default : mail@josuah.net diff --git a/dot/config/git/config b/git/config diff --git a/dot/config/mblaze/filter b/mblaze/filter diff --git a/dot/config/mblaze/profile b/mblaze/profile diff --git a/skel/exports b/skel/exports @@ -0,0 +1,4 @@ +#!/bin/sh +cat << EOF +$HOME/srv -alldirs -ro -network=127.0.0 -mask=255.255.255.0 +EOF diff --git a/dot/config/twt b/twt diff --git a/dot/config/wpa_supplicant b/wpa_supplicant