dot

packages and services management
Log | Files | Refs | README

commit bafbc9b39552e2f3fb0c2df0117ada5c3d88c95a
parent 968fe7decfd207edd61ba1225a25b6172a6a47d0
Author: josuah <mail@josuah.net>
Date:   Mon, 21 Nov 2016 08:54:46 -0500

Interface stuff

Diffstat:
M.profile | 2+-
M.xinitrc | 2+-
Mbin/adagio | 82++++++++++++++++++++++++++++++++++++++++----------------------------------------
Mbin/status | 16++++++++++++----
Mdvtm/config.h | 4++--
Mdwm/config.h | 2--
6 files changed, 57 insertions(+), 51 deletions(-)

diff --git a/.profile b/.profile @@ -215,7 +215,7 @@ main() if [ "$TERM" = 'linux' ] then theme coal - setfont "$CONFIG/fonts/terminus/ter-v16n.psf.gz" + setfont ~/.config/fonts/terminus-v16n.psf.gz fi } diff --git a/.xinitrc b/.xinitrc @@ -7,6 +7,6 @@ do sleep 4 done & nm-applet & -st & +st exec dwm diff --git a/bin/adagio b/bin/adagio @@ -40,141 +40,141 @@ tempo='100' # In addition, some "interpretation" are added, as in a performance. # | | | | | | -n="$n $G4 $G4 $A4 $Ad4 $G4 " +n="$n $G3 $G3 $A3 $Ad3 $G3 " d="$d 36 2 2 26 6 " # | | | | | | -n="$n $G4 $A4 $Ad4 $C5 " +n="$n $G3 $A3 $Ad3 $C4 " d="$d 36 2 2 56 " # | | | | | | -n="$n $G4 $A4 $Ad4 $A4 $Ad4 " +n="$n $G3 $A3 $Ad3 $A3 $Ad3 " d="$d 6 6 2 2 38 " # | | | | | | -n="$n $G4 $A4 $G4 $A4 $G4 $Fd4 $G4 " +n="$n $G3 $A3 $G3 $A3 $G3 $Fd3 $G3 " d="$d 6 2 2 12 4 4 36 " # | | | | | | # | | | | | | -n="$n $D5 $C5 $Ad4 $A4 $G4 $G4 $Fd4 " +n="$n $D4 $C4 $Ad3 $A3 $G3 $G3 $Fd3 " d="$d 12 8 4 8 4 24 12 " # | | | | | | -n="$n $Dd5 $D5 $C5 $Ad4 $A4 $A4 $G4 " +n="$n $Dd4 $D4 $C4 $Ad3 $A3 $A3 $G3 " d="$d 12 8 4 8 4 24 12 " # | | | | | | -n="$n $G5 $F5 $G5 $Dd5 $F5 $D5 $Dd5 " +n="$n $G4 $F4 $G4 $Dd4 $F4 $D4 $Dd4 " d="$d 12 6 6 4 4 4 36 " # | | | | | | -n="$n $F5 $Dd5 $F5 $D5 $Dd5 $C5 $D5 " +n="$n $F4 $Dd4 $F4 $D4 $Dd4 $C4 $D4 " d="$d 12 6 6 4 4 4 36 " # | | | | | | -n="$n $Dd5 $D5 $Dd5 $C5 $D5 $Ad4 $C5 " +n="$n $Dd4 $D4 $Dd4 $C4 $D4 $Ad4 $C4 " d="$d 12 6 6 4 4 4 36 " # | | | | | | -n="$n $D5 $Dd5 1 $D5 1 " +n="$n $D4 $Dd4 1 $D4 1 " d="$d 30 6 12 24 12 " # | | | | | | # | | | | | | -n="$n $G5 $A5 $Ad5 $A5 $G5 $Fd5 $G5 1 $F5 " +n="$n $G4 $A4 $Ad4 $A4 $G4 $Fd4 $G4 1 $F4 " d="$d 6 6 7 5 5 6 6 12 24 " # | | | | | | -n="$n $F5 $G5 $Gd5 1 $G5 $F5 $Dd5 $C5 $Dd5 $G5 $D5 $Ad4" +n="$n $F4 $G4 $Gd4 1 $G4 $F4 $Dd4 $C4 $Dd4 $G4 $D4 $Ad3" d="$d 1 1 4 4 1 2 18 5 8 4 24 5 " # | | | | | | -n="$n $D5 $G5 $C5 $C5 $D5 $Dd5 1 $D5 $C5 $Ad4 " +n="$n $D4 $G4 $C4 $C4 $D4 $Dd4 1 $D4 $C4 $Ad3 " d="$d 8 4 24 1 1 4 4 1 2 24 " # | | | | | | -n="$n $Ad4 $C5 $D5 1 $C5 $Ad4 $A4 $A4 $Ad4 $C5 1 $Ad4 $A4 $G4 " +n="$n $Ad3 $C4 $D4 1 $C4 $Ad3 $A3 $A3 $Ad3 $C4 1 $Ad3 $A3 $G3 " d="$d 1 1 4 4 1 2 24 1 1 4 4 1 3 24 " # | | | | | | # -n="$n 1 $G4 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5 $D5 $Dd5 " +n="$n $C4 $D4 $Dd4 $D4 $Dd4 " d="$d 6 6 2 2 38 " # | | | | | | -n="$n $C5 $D5 $C5 $D5 $C5 $B4 $C5 " +n="$n $C4 $D4 $C4 $D4 $C4 $B3 $C4 " d="$d 6 2 2 12 4 4 36 " # | | | | | | # | | | | | | -n="$n $G5 $F5 $Dd5 $D5 $C5 $C5 $B4 " +n="$n $G4 $F4 $Dd4 $D4 $C4 $C4 $B3 " d="$d 12 8 4 8 4 24 12 " # | | | | | | -n="$n $Gd5 $G5 $F5 $Dd5 $D5 $D5 $C5 " +n="$n $Gd4 $G4 $F4 $Dd4 $D4 $D4 $C4 " d="$d 12 8 4 8 4 24 12 " # | | | | | | -n="$n $C6 $Ad5 $C6 $Gd5 $Ad5 $G5 $Gd5 " +n="$n $C6 $Ad4 $C6 $Gd4 $Ad4 $G4 $Gd4 " d="$d 12 6 6 4 4 4 36 " # | | | | | | -n="$n $Ad5 $Gd5 $Ad5 $G5 $Gd5 $F5 $G5 " +n="$n $Ad4 $Gd4 $Ad4 $G4 $Gd4 $F4 $G4 " d="$d 12 6 6 4 4 4 36 " # | | | | | | # | | | | | | -n="$n $F5 $A4 $Ad4 $C5 $Ad4 $F5 $D5 $Ad4 " +n="$n $F4 $A3 $Ad3 $C4 $Ad3 $F4 $D4 $Ad3 " d="$d 20 4 10 2 20 4 10 2 " # | | | | | | -n="$n $Ad4 $A4 $Ad4 $C5 $Ad4 " +n="$n $Ad3 $A3 $Ad3 $C4 $Ad3 " d="$d 20 4 10 2 32 " # | | | | | | -n="$n $Ad5 $A5 $G5 $F5 $Dd5 $D5 $C5 $Ad4 $G4 $G5 " +n="$n $Ad4 $A4 $G4 $F4 $Dd4 $D4 $C4 $Ad3 $G3 $G4 " d="$d 20 3 3 3 3 3 3 6 12 12 " # | | | | | | -n="$n $Dd5 $C5 $Ad4 $Gd4 $F5 $D5 $Ad4 $Gd4 $Gd4 $G4 " +n="$n $Dd4 $C4 $Ad3 $Gd3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5 " +n="$n $Dd4 $F4 $G4 1 $F4 $Dd4 $D4 $D4 $Dd4 $F4 1 $Dd4 $D4 $C4 " d="$d 1 1 4 4 1 2 24 1 1 4 4 1 3 24 " # | | | | | | diff --git a/bin/status b/bin/status @@ -9,9 +9,9 @@ STATUS="$HOME/.cache/status" [ -f "$STATUS/pwd" ] && IFS='' read -r SHELL_PWD < $STATUS/pwd -SEPARATOR=' | ' -START=' ' -STOP=' ' +SEPARATOR=' ' +START=' ' +STOP=' ' # @@ -98,6 +98,14 @@ status_mail() } +status_abduco() +{ + local buffers="$(($(abduco | wc -l) - 1))" + + [ "$buffers" -gt 0 ] && printf '[%s]' "$buffers" +} + + status_date() { date +'%Y-%m-%d %H:%M' @@ -152,4 +160,4 @@ main() } -main ${@:-path mail cpu battery date} +main ${@:-path mail abduco cpu battery date} diff --git a/dvtm/config.h b/dvtm/config.h @@ -232,10 +232,10 @@ static char const * const keytable[] = { * are generated in the output. */ static Editor editors[] = { + { .name = "less", .argv = { "less", "-R", "+%d", NULL }, .filter = false, .color = true }, + { .name = "dvtm-editor", .argv = { "dvtm-editor", "-", NULL }, .filter = true, .color = false }, { .name = "vis", .argv = { "vis", "+%d", "-", NULL }, .filter = true, .color = false }, { .name = "sandy", .argv = { "sandy", "-d", "-", NULL }, .filter = true, .color = false }, - { .name = "dvtm-editor", .argv = { "dvtm-editor", "-", NULL }, .filter = true, .color = false }, { .name = "vim", .argv = { "vim", "+%d", "-", NULL }, .filter = false, .color = false }, - { .name = "less", .argv = { "less", "-R", "+%d", NULL }, .filter = false, .color = true }, { .name = "more", .argv = { "more", "+%d", NULL }, .filter = false, .color = false }, }; diff --git a/dwm/config.h b/dwm/config.h @@ -88,8 +88,6 @@ static Key keys[] = { { MODKEY, XK_t, setlayout, {.v = &layouts[0]} }, { MODKEY, XK_f, setlayout, {.v = &layouts[1]} }, { MODKEY, XK_m, setlayout, {.v = &layouts[2]} }, - { MODKEY, XK_u, setlayout, {.v = &layouts[3]} }, - { MODKEY, XK_o, setlayout, {.v = &layouts[4]} }, { MODKEY|ShiftMask, XK_space, togglefloating, {0} }, { MODKEY, XK_0, view, {.ui = ~0 } }, { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },