dot

packages and services management
Log | Files | Refs | README

commit ac868041c20a0ea97dbbac9268271ddf5424c349
parent c2e3e8466382b5cd3595980ad9833bac74127bba
Author: Josuah Demangeon <mail@josuah.net>
Date:   Mon, 13 Nov 2017 00:13:24 +0100

geomyidae

Diffstat:
Mbin/io | 2+-
Mbin/io-cache | 2+-
Mbin/io-mail | 2++
Adaemon/geomyidae | 3+++
Mpackage/dwm/config.h | 26+++++++++++++-------------
5 files changed, 20 insertions(+), 15 deletions(-)

diff --git a/bin/io b/bin/io @@ -9,7 +9,7 @@ grep -F "$ABDUCO_SOCKET_DIR/abduco/names" -e "$( abduco | sed 1d | cut -d ' ' -f 3- )" | sort -uo "$ABDUCO_SOCKET_DIR/abduco/names" -[ $# = 0 ] && IFS=' ' set -- $( +[ $# = 0 ] && set -- $( cut -d ' ' -f 3- "$ABDUCO_SOCKET_DIR/abduco/names" | cat - "$HOME/var/cache/io" "$HOME/etc/io"/* | iomenu -p io -# ) diff --git a/bin/io-cache b/bin/io-cache @@ -10,7 +10,7 @@ sort echo '#io-mail' mdirs "$HOME/var/mail" | while IFS='' read -r dir -do printf '%-50s %4s\n' "$dir" "$(mlist -s "$dir" | wc -l)" +do printf '%-50s %4s\n' "$dir" "$(mlist -s "$dir" | wc -l | sed 's/^ *0$//')" done | sort echo '#play' diff --git a/bin/io-mail b/bin/io-mail @@ -1,6 +1,8 @@ #!/bin/sh # list mail from all inboxes using mblaze +set -- "${1%% *}" + # sort messages mdirs "$1" | mlist | mthread | msort -r -d | mseq -S | diff --git a/daemon/geomyidae b/daemon/geomyidae @@ -0,0 +1,3 @@ +#!/bin/sh + +geomyidae -b "$1" -p "${2:-70}" -u nobody -h "$(uname -n)" diff --git a/package/dwm/config.h b/package/dwm/config.h @@ -16,7 +16,7 @@ static const int topbar = 1; /* 0 means bottom bar */ /* tagging */ static const char *tags[] = { - "1:term", "2:term", "3:doc", "4:web", "5:media", "6:gui" + "1:dev", "2:term", "3:irc", "4:doc", "5:web", "6:media", "7:gui" }; static const Rule rules[] = { @@ -25,18 +25,18 @@ static const Rule rules[] = { * WM_NAME(STRING) = title */ /* class instance title tags mask isfloating monitor */ - { "Zathura", NULL, NULL, 1 << 2, 0, -1 }, - { "MuPDF", NULL, NULL, 1 << 2, 0, -1 }, - { "Chromium", NULL, NULL, 1 << 3, 0, -1 }, - { "Iceweasel", NULL, NULL, 1 << 3, 0, -1 }, - { "Firefox", NULL, NULL, 1 << 3, 0, -1 }, - { "Surf", NULL, NULL, 1 << 3, 0, -1 }, - { "Midori", NULL, NULL, 1 << 3, 0, -1 }, - { "ffplay", NULL, NULL, 1 << 4, 0, -1 }, - { "MPlayer", NULL, NULL, 1 << 4, 0, -1 }, - { NULL, "libreoffice", NULL, 1 << 5, 0, -1 }, - { "Blender", NULL, NULL, 1 << 5, 0, -1 }, - { "Gimp", NULL, NULL, 1 << 5, 0, -1 }, + { "Zathura", NULL, NULL, 1 << 3, 0, -1 }, + { "MuPDF", NULL, NULL, 1 << 3, 0, -1 }, + { "Chromium", NULL, NULL, 1 << 4, 0, -1 }, + { "Iceweasel", NULL, NULL, 1 << 4, 0, -1 }, + { "Firefox", NULL, NULL, 1 << 4, 0, -1 }, + { "Surf", NULL, NULL, 1 << 4, 0, -1 }, + { "Midori", NULL, NULL, 1 << 4, 0, -1 }, + { "ffplay", NULL, NULL, 1 << 5, 0, -1 }, + { "MPlayer", NULL, NULL, 1 << 5, 0, -1 }, + { NULL, "libreoffice", NULL, 1 << 6, 0, -1 }, + { "Blender", NULL, NULL, 1 << 6, 0, -1 }, + { "Gimp", NULL, NULL, 1 << 6, 0, -1 }, }; /* layout(s) */