dot

packages and services management
Log | Files | Refs | README

commit 720a70a6918c100eb7af1ae0b86ecc951bf7275a
parent b4545c79001ae2aaa724a671a98b17275ddc4bd2
Author: josuah <mail@josuah.net>
Date:   Mon, 28 Nov 2016 21:35:07 +0100

Added repo.or.cz filter to mail and simpler dwm

Diffstat:
M.config/dwm/config.h | 12++++--------
M.config/git/projects | 5++---
M.mailrc | 111+++++++++++++++++++++++++++++++++++++------------------------------------------
3 files changed, 58 insertions(+), 70 deletions(-)

diff --git a/.config/dwm/config.h b/.config/dwm/config.h @@ -14,10 +14,6 @@ static const char selfgcolor[] = "#ffffff"; static const unsigned int borderpx = 1; /* border pixel of windows */ static const unsigned int gappx = 4; /* gap pixel between windows */ static const unsigned int snap = 32; /* snap pixel */ -static const unsigned int systraypinning = 0; /* 0: sloppy systray follows selected monitor, >0: pin systray to monitor X */ -static const unsigned int systrayspacing = 2; /* systray spacing */ -static const int systraypinningfailfirst = 1; /* 1: if pinning fails, display systray on the first monitor, 0: display systray on the last monitor*/ -static const int showsystray = 1; /* 0 means no systray */ static const int showbar = 1; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ @@ -49,9 +45,9 @@ static const int resizehints = 0; /* 1 means respect size hints in tiled resi static const Layout layouts[] = { /* symbol arrange function */ - { "│├┤", tile }, /* first entry is default */ - { "│▫│", NULL }, /* no layout function means floating behavior */ - { "│ │", monocle }, + { "[T]", tile }, /* first entry is default */ + { "[F]", NULL }, /* no layout function means floating behavior */ + { "[M]", monocle }, }; /* key definitions */ @@ -67,7 +63,7 @@ static const Layout layouts[] = { /* commands */ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ -static const char *dmenucmd[] = { "dmenu_run", "-fn", dmenufont, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL }; +static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL }; static const char *termcmd[] = { "st", "-f", dmenufont, NULL }; static Key keys[] = { diff --git a/.config/git/projects b/.config/git/projects @@ -1,10 +1,9 @@ +ssh://repo.or.cz/iomenu.git +http://github.com/josuah/editor http://github.com/josuah/josuah.github.io -http://github.com/josuah/iirc http://github.com/josuah/cgr http://github.com/josuah/barkdown http://github.com/josuah/notes -ssh://repo.or.cz/iomenu.git -http://github.com/josuah/vis http://github.com/josuah/fungus-vs-pathogen http://github.com/josuah/miniwi http://github.com/josuah/drawille diff --git a/.mailrc b/.mailrc @@ -1,9 +1,9 @@ -# * | -# --.-. ,--. , | .,-- ,--. -# | | | ,--| | | | | -# ' ' ' `--` ' ' ' `--' 2016-11-19 -#------------------------------------------------------------------------------- -# s-nail configuration file +# mailx configuration file 2016-11-28 +# +# __ _ . | _ _ +# ||| (_| | | | (_ +# +#_______________________________________________________________________________ set sendmail="~/.local/bin/msmtp" @@ -13,7 +13,7 @@ set keepsave # Display -#------------------------------------------------------------------------------- +#_______________________________________________________________________________ # Do not send output to pager under this number of line, and also add colours if set crt colour-pager @@ -29,7 +29,7 @@ set datefield="%R %m-%d" datefield-markout-older=" %g-%m-%d" # Composing -#------------------------------------------------------------------------------- +#_______________________________________________________________________________ # Automatically quote the text of the message that is responded to. set quote @@ -52,7 +52,7 @@ set editalong # Headline -#------------------------------------------------------------------------------- +#_______________________________________________________________________________ set headline="%>%a %m %-f %11d %i%-s" @@ -91,7 +91,7 @@ set showto # Commands -#------------------------------------------------------------------------------- +#_______________________________________________________________________________ # Only include these selected header fields when forwarding messages fwdretain subject date from to @@ -101,7 +101,7 @@ retain date from to cc subject message-id mail-followup-to reply-to # Attachments -#------------------------------------------------------------------------------- +#_______________________________________________________________________________ # HTML as text, inline display via w3m set pipe-text/html="w3m -dump" @@ -112,83 +112,76 @@ set pipe-application/pdf=" tee > \ set pipe-application/html="tee > \ \"$HOME/.cache/mail/${NAIL_FILENAME-$NAIL_FILENAME_GENERATED.html}\"" -# s-it-mode +# If threaded mode is activated, automatically collapse thread +#uncollapse # Macros -#------------------------------------------------------------------------------- - -# If threaded mode is activated, automatically collapse thread -#uncollapse +#_______________________________________________________________________________ define filter { - # Mailing lists - move (from "lobste.rs") ~/Mail/l.lobsters - - move (from "reddit") ~/Mail/l.reddit - - move (from "disqus") ~/Mail/l.disqus - - move (from "nixers.net") ~/Mail/l.nixers + move (from "lobste.rs") ~/Mail/lobsters - move (from "sachachua.com") ~/Mail/l.sachachua + move (from "reddit") ~/Mail/reddit - move (cc "mmh@marmaro.de") ~/Mail/l.mmh - move (to "mmh@marmaro.de") ~/Mail/l.mmh + move (from "disqus") ~/Mail/disqus - move (from "suckless.org") ~/Mail/l.suckless - move (to "suckless.org") ~/Mail/l.suckless - move (cc "suckless.org") ~/Mail/l.suckless + move (from "nixers.net") ~/Mail/nixers - move (from "fsf.org") ~/Mail/l.fsf + move (from "sachachua.com") ~/Mail/sachachua - move (to "listes.etudiant.univ-rennes1.fr") ~/Mail/l.univ-rennes1 - move (header List-Id "foad.univ-rennes1.fr") ~/Mail/l.univ-rennes1 - move (header Received "vmsympa1.univ-rennes1.fr") ~/Mail/l.univ-rennes1 - move (header Return-Path "listes.univ-rennes1.fr") ~/Mail/l.univ-rennes1 + move (cc "mmh@marmaro.de") ~/Mail/mmh + move (to "mmh@marmaro.de") ~/Mail/mmh - move (header List-Id "breizh-entropy.org") ~/Mail/l.breizh-entropy + move (from "suckless.org") ~/Mail/suckless + move (to "suckless.org") ~/Mail/suckless + move (cc "suckless.org") ~/Mail/suckless + move (from "fsf.org") ~/Mail/fsf - # Services + move (to "listes.etudiant.univ-rennes1.fr") ~/Mail/univ-rennes1 + move (header List-Id "foad.univ-rennes1.fr") ~/Mail/univ-rennes1 + move (header Received "vmsympa1.univ-rennes1.fr") ~/Mail/univ-rennes1 + move (header Return-Path "listes.univ-rennes1.fr") ~/Mail/univ-rennes1 - move (from "github.com") ~/Mail/s.github + move (header List-Id "breizh-entropy.org") ~/Mail/breizh-entropy - move (from "stackexchange.com") ~/Mail/s.stackexchange + move (subject "[repo.or.cz]") ~/Mail/repo.or.cz - move (from "twitter.com") ~/Mail/s.twitter + move (from "github.com") ~/Mail/github - move (from "bandcamp.com") ~/Mail/s.bandcamp - move (from "Cryo Chamber") ~/Mail/s.bandcamp + move (from "stackexchange.com") ~/Mail/stackexchange - move (from "keybase.io") ~/Mail/s.keybase + move (from "twitter.com") ~/Mail/twitter - move (from "wordpress.com") ~/Mail/s.wordpress + move (from "bandcamp.com") ~/Mail/bandcamp + move (from "Cryo Chamber") ~/Mail/bandcamp - move (from "google.com") ~/Mail/s.google + move (from "keybase.io") ~/Mail/keybase + move (from "wordpress.com") ~/Mail/wordpress - # Billing + move (from "google.com") ~/Mail/google - move (from "@free-mobile.fr") ~/Mail/b.utilities + move (from "@free-mobile.fr") ~/Mail/utilities - move (from "@paypal") ~/Mail/b.payment - move (from "coinbase.com") ~/Mail/b.payment + move (from "@paypal") ~/Mail/payment + move (from "coinbase.com") ~/Mail/payment - move (from "gandi.net") ~/Mail/b.webservices + move (from "gandi.net") ~/Mail/webservices - move (from "@amazon") ~/Mail/b.webstores + move (from "@amazon") ~/Mail/webstores - move (from "crous-rennes.fr") ~/Mail/b.housing + move (from "crous-rennes.fr") ~/Mail/housing - move (from "sncf.com") ~/Mail/b.transports - move (from "captaintrain.com") ~/Mail/b.transports - move (from "flixbus") ~/Mail/b.transports - move (from "megabus") ~/Mail/b.transports - move (from "ouigo") ~/Mail/b.transports - move (from "ouibus") ~/Mail/b.transports - move (from "keolis.com") ~/Mail/b.transports + move (from "sncf.com") ~/Mail/transports + move (from "captaintrain.com") ~/Mail/transports + move (from "flixbus") ~/Mail/transports + move (from "megabus") ~/Mail/transports + move (from "ouigo") ~/Mail/transports + move (from "ouibus") ~/Mail/transports + move (from "keolis.com") ~/Mail/transports }