dot

packages and services management
Log | Files | Refs | README

commit eae5c3b2868f5caeed99b777410b761121fc7b89
parent 720a70a6918c100eb7af1ae0b86ecc951bf7275a
Author: josuah <mail@josuah.net>
Date:   Wed, 30 Nov 2016 09:05:31 +0100

Added psf fonts from the kbd package

Diffstat:
A.config/build/valgrind | 3+++
R.config/themes/solarized_dark -> .config/themes/solarized-dark | 0
R.config/themes/solarized_light -> .config/themes/solarized-light | 0
M.local/bin/music | 31+++++++++++--------------------
M.local/bin/status | 6+++---
M.local/bin/www | 12+++++-------
A.local/share/consolefonts/972.cp | 0
A.local/share/consolefonts/cybercafe.fnt | 0
A.local/share/consolefonts/default-16.psf | 0
A.local/share/consolefonts/default-9.psf | 0
A.local/share/consolefonts/greek-polytonic.psfu | 0
A.local/share/consolefonts/latgrkcyr-22.psf | 0
R.local/share/fonts/miniwi-16.psf -> .local/share/consolefonts/miniwi-16.psf | 0
R.local/share/fonts/miniwi-8.psf -> .local/share/consolefonts/miniwi-8.psf | 0
A.local/share/consolefonts/solarize-29.psf | 0
A.local/share/consolefonts/t.fnt | 0
R.local/share/fonts/tamsyn-12b.psf -> .local/share/consolefonts/tamsyn-12b.psf | 0
R.local/share/fonts/tamsyn-12n.psf -> .local/share/consolefonts/tamsyn-12n.psf | 0
R.local/share/fonts/tamsyn-13b.psf -> .local/share/consolefonts/tamsyn-13b.psf | 0
R.local/share/fonts/tamsyn-13n.psf -> .local/share/consolefonts/tamsyn-13n.psf | 0
R.local/share/fonts/tamsyn-14b.psf -> .local/share/consolefonts/tamsyn-14b.psf | 0
R.local/share/fonts/tamsyn-14n.psf -> .local/share/consolefonts/tamsyn-14n.psf | 0
R.local/share/fonts/tamsyn-15b.psf -> .local/share/consolefonts/tamsyn-15b.psf | 0
R.local/share/fonts/tamsyn-15n.psf -> .local/share/consolefonts/tamsyn-15n.psf | 0
R.local/share/fonts/tamsyn-16b.psf -> .local/share/consolefonts/tamsyn-16b.psf | 0
R.local/share/fonts/tamsyn-16n.psf -> .local/share/consolefonts/tamsyn-16n.psf | 0
R.local/share/fonts/tamsyn-20b.psf -> .local/share/consolefonts/tamsyn-20b.psf | 0
R.local/share/fonts/tamsyn-20n.psf -> .local/share/consolefonts/tamsyn-20n.psf | 0
R.local/share/fonts/tamsyn-9b.psf -> .local/share/consolefonts/tamsyn-9b.psf | 0
R.local/share/fonts/tamsyn-9n.psf -> .local/share/consolefonts/tamsyn-9n.psf | 0
R.local/share/fonts/tamzen-12.psf -> .local/share/consolefonts/tamzen-12.psf | 0
R.local/share/fonts/tamzen-13.psf -> .local/share/consolefonts/tamzen-13.psf | 0
R.local/share/fonts/tamzen-14.psf -> .local/share/consolefonts/tamzen-14.psf | 0
R.local/share/fonts/tamzen-15.psf -> .local/share/consolefonts/tamzen-15.psf | 0
R.local/share/fonts/tamzen-16.psf -> .local/share/consolefonts/tamzen-16.psf | 0
R.local/share/fonts/tamzen-20.psf -> .local/share/consolefonts/tamzen-20.psf | 0
R.local/share/fonts/tamzen-9.psf -> .local/share/consolefonts/tamzen-9.psf | 0
R.local/share/fonts/terminus-12n.psf -> .local/share/consolefonts/terminus-12n.psf | 0
R.local/share/fonts/terminus-14b.psf -> .local/share/consolefonts/terminus-14b.psf | 0
R.local/share/fonts/terminus-14n.psf -> .local/share/consolefonts/terminus-14n.psf | 0
R.local/share/fonts/terminus-16b.psf -> .local/share/consolefonts/terminus-16b.psf | 0
R.local/share/fonts/terminus-16n.psf -> .local/share/consolefonts/terminus-16n.psf | 0
R.local/share/fonts/terminus-18b.psf -> .local/share/consolefonts/terminus-18b.psf | 0
R.local/share/fonts/terminus-18n.psf -> .local/share/consolefonts/terminus-18n.psf | 0
R.local/share/fonts/terminus-20b.psf -> .local/share/consolefonts/terminus-20b.psf | 0
R.local/share/fonts/terminus-20n.psf -> .local/share/consolefonts/terminus-20n.psf | 0
R.local/share/fonts/terminus-22b.psf -> .local/share/consolefonts/terminus-22b.psf | 0
R.local/share/fonts/terminus-22n.psf -> .local/share/consolefonts/terminus-22n.psf | 0
R.local/share/fonts/terminus-24b.psf -> .local/share/consolefonts/terminus-24b.psf | 0
R.local/share/fonts/terminus-24n.psf -> .local/share/consolefonts/terminus-24n.psf | 0
R.local/share/fonts/terminus-28b.psf -> .local/share/consolefonts/terminus-28b.psf | 0
R.local/share/fonts/terminus-28n.psf -> .local/share/consolefonts/terminus-28n.psf | 0
R.local/share/fonts/terminus-32b.psf -> .local/share/consolefonts/terminus-32b.psf | 0
R.local/share/fonts/terminus-32n.psf -> .local/share/consolefonts/terminus-32n.psf | 0
R.local/share/fonts/vector-16.psf -> .local/share/consolefonts/vector-16.psf | 0
A.local/share/consolefonts/viscii10-16.psf | 0
M.profile | 34+++++++++++++++++++++++++++++++---
M.vim/vimrc | 7+++++--
58 files changed, 58 insertions(+), 35 deletions(-)

diff --git a/.config/build/valgrind b/.config/build/valgrind @@ -0,0 +1,3 @@ +# Dynamic analysis tools for programs + +tar=http://valgrind.org/downloads/valgrind-3.12.0.tar.bz2 diff --git a/.config/themes/solarized_dark b/.config/themes/solarized-dark diff --git a/.config/themes/solarized_light b/.config/themes/solarized-light diff --git a/.local/bin/music b/.local/bin/music @@ -1,23 +1,14 @@ -# . . * -# |\ /| , , ,--- , ,--. -# | | | | | `--. | | -# ' ' `--` ---' ' `--' 2016-10-26 -#------------------------------------------------------------------------------- -# Prompt for a music to play with ffplay +# Prompt for a music to play with mplayer +# +# |\/| _ . _ +# | | |_| _\ | (_ +# +#_______________________________________________________________________________ cd "$HOME/Music" -while : -do - find . -mindepth 1 -type f -follow | - sort | - sed 's/^.\///; s/\// > /; y/_/ /' | - iomenu -l 200 | - sed ' s/ > /\//; y/ /_/' | - { - while IFS='' read -r track - do - [ "$track" ] && mplayer "$track" - done - } -done +find . -mindepth 1 -type f -follow | sort | iomenu -l 200 | + while IFS='' read -r track + do + [ -f "$track" ] && mplayer "$track" + done diff --git a/.local/bin/status b/.local/bin/status @@ -148,17 +148,17 @@ main() do case "$1" in path | git ) - segment="$(status_$1 $2)" + segment="$(status_"$1" "$2")" shift ;; * ) - segment="$(status_$1)" + segment="$(status_"$1")" ;; esac printf %s "$segment" - [ "$segment" -a "$#" -gt 1 ] && printf "$SEPARATOR" + [ "$segment" -a $# -gt 1 ] && printf "$SEPARATOR" shift done diff --git a/.local/bin/www b/.local/bin/www @@ -14,13 +14,13 @@ parse() # check for remaining keywords [ "${input##*{{*}" ] && return 0 - # clean out separator from the keyword + # take the separator out of the keyword input="${input#*{{}" - # execute the keyword and print its output + # execute the keyword action and print its output case "${input%%\}\}*}" in *content* ) - [ -f "$item/README" ] && cat "$item/README" + [ -f "$item/index.txt" ] && cat "$item/index.txt" ;; *list* ) @@ -60,10 +60,8 @@ list() ( # for cd not to affect current directory cd "$dir" - find . -mindepth 1 -maxdepth 1 \ - ! -name 'README' \ - ! -name 'index.html' | - sort | + find . -mindepth 1 -maxdepth 1 ! -name 'index.*' | + sort | sed -r 's_..(.*)_<li><a href="\1">\1</a></li>_' ) diff --git a/.local/share/consolefonts/972.cp b/.local/share/consolefonts/972.cp Binary files differ. diff --git a/.local/share/consolefonts/cybercafe.fnt b/.local/share/consolefonts/cybercafe.fnt Binary files differ. diff --git a/.local/share/consolefonts/default-16.psf b/.local/share/consolefonts/default-16.psf Binary files differ. diff --git a/.local/share/consolefonts/default-9.psf b/.local/share/consolefonts/default-9.psf Binary files differ. diff --git a/.local/share/consolefonts/greek-polytonic.psfu b/.local/share/consolefonts/greek-polytonic.psfu Binary files differ. diff --git a/.local/share/consolefonts/latgrkcyr-22.psf b/.local/share/consolefonts/latgrkcyr-22.psf Binary files differ. diff --git a/.local/share/fonts/miniwi-16.psf b/.local/share/consolefonts/miniwi-16.psf Binary files differ. diff --git a/.local/share/fonts/miniwi-8.psf b/.local/share/consolefonts/miniwi-8.psf Binary files differ. diff --git a/.local/share/consolefonts/solarize-29.psf b/.local/share/consolefonts/solarize-29.psf Binary files differ. diff --git a/.local/share/consolefonts/t.fnt b/.local/share/consolefonts/t.fnt Binary files differ. diff --git a/.local/share/fonts/tamsyn-12b.psf b/.local/share/consolefonts/tamsyn-12b.psf Binary files differ. diff --git a/.local/share/fonts/tamsyn-12n.psf b/.local/share/consolefonts/tamsyn-12n.psf Binary files differ. diff --git a/.local/share/fonts/tamsyn-13b.psf b/.local/share/consolefonts/tamsyn-13b.psf Binary files differ. diff --git a/.local/share/fonts/tamsyn-13n.psf b/.local/share/consolefonts/tamsyn-13n.psf Binary files differ. diff --git a/.local/share/fonts/tamsyn-14b.psf b/.local/share/consolefonts/tamsyn-14b.psf Binary files differ. diff --git a/.local/share/fonts/tamsyn-14n.psf b/.local/share/consolefonts/tamsyn-14n.psf Binary files differ. diff --git a/.local/share/fonts/tamsyn-15b.psf b/.local/share/consolefonts/tamsyn-15b.psf Binary files differ. diff --git a/.local/share/fonts/tamsyn-15n.psf b/.local/share/consolefonts/tamsyn-15n.psf Binary files differ. diff --git a/.local/share/fonts/tamsyn-16b.psf b/.local/share/consolefonts/tamsyn-16b.psf Binary files differ. diff --git a/.local/share/fonts/tamsyn-16n.psf b/.local/share/consolefonts/tamsyn-16n.psf Binary files differ. diff --git a/.local/share/fonts/tamsyn-20b.psf b/.local/share/consolefonts/tamsyn-20b.psf Binary files differ. diff --git a/.local/share/fonts/tamsyn-20n.psf b/.local/share/consolefonts/tamsyn-20n.psf Binary files differ. diff --git a/.local/share/fonts/tamsyn-9b.psf b/.local/share/consolefonts/tamsyn-9b.psf Binary files differ. diff --git a/.local/share/fonts/tamsyn-9n.psf b/.local/share/consolefonts/tamsyn-9n.psf Binary files differ. diff --git a/.local/share/fonts/tamzen-12.psf b/.local/share/consolefonts/tamzen-12.psf Binary files differ. diff --git a/.local/share/fonts/tamzen-13.psf b/.local/share/consolefonts/tamzen-13.psf Binary files differ. diff --git a/.local/share/fonts/tamzen-14.psf b/.local/share/consolefonts/tamzen-14.psf Binary files differ. diff --git a/.local/share/fonts/tamzen-15.psf b/.local/share/consolefonts/tamzen-15.psf Binary files differ. diff --git a/.local/share/fonts/tamzen-16.psf b/.local/share/consolefonts/tamzen-16.psf Binary files differ. diff --git a/.local/share/fonts/tamzen-20.psf b/.local/share/consolefonts/tamzen-20.psf Binary files differ. diff --git a/.local/share/fonts/tamzen-9.psf b/.local/share/consolefonts/tamzen-9.psf Binary files differ. diff --git a/.local/share/fonts/terminus-12n.psf b/.local/share/consolefonts/terminus-12n.psf Binary files differ. diff --git a/.local/share/fonts/terminus-14b.psf b/.local/share/consolefonts/terminus-14b.psf Binary files differ. diff --git a/.local/share/fonts/terminus-14n.psf b/.local/share/consolefonts/terminus-14n.psf Binary files differ. diff --git a/.local/share/fonts/terminus-16b.psf b/.local/share/consolefonts/terminus-16b.psf Binary files differ. diff --git a/.local/share/fonts/terminus-16n.psf b/.local/share/consolefonts/terminus-16n.psf Binary files differ. diff --git a/.local/share/fonts/terminus-18b.psf b/.local/share/consolefonts/terminus-18b.psf Binary files differ. diff --git a/.local/share/fonts/terminus-18n.psf b/.local/share/consolefonts/terminus-18n.psf Binary files differ. diff --git a/.local/share/fonts/terminus-20b.psf b/.local/share/consolefonts/terminus-20b.psf Binary files differ. diff --git a/.local/share/fonts/terminus-20n.psf b/.local/share/consolefonts/terminus-20n.psf Binary files differ. diff --git a/.local/share/fonts/terminus-22b.psf b/.local/share/consolefonts/terminus-22b.psf Binary files differ. diff --git a/.local/share/fonts/terminus-22n.psf b/.local/share/consolefonts/terminus-22n.psf Binary files differ. diff --git a/.local/share/fonts/terminus-24b.psf b/.local/share/consolefonts/terminus-24b.psf Binary files differ. diff --git a/.local/share/fonts/terminus-24n.psf b/.local/share/consolefonts/terminus-24n.psf Binary files differ. diff --git a/.local/share/fonts/terminus-28b.psf b/.local/share/consolefonts/terminus-28b.psf Binary files differ. diff --git a/.local/share/fonts/terminus-28n.psf b/.local/share/consolefonts/terminus-28n.psf Binary files differ. diff --git a/.local/share/fonts/terminus-32b.psf b/.local/share/consolefonts/terminus-32b.psf Binary files differ. diff --git a/.local/share/fonts/terminus-32n.psf b/.local/share/consolefonts/terminus-32n.psf Binary files differ. diff --git a/.local/share/fonts/vector-16.psf b/.local/share/consolefonts/vector-16.psf Binary files differ. diff --git a/.local/share/consolefonts/viscii10-16.psf b/.local/share/consolefonts/viscii10-16.psf Binary files differ. diff --git a/.profile b/.profile @@ -16,7 +16,8 @@ export ABDUCO_SOCKET_DIR="$XDG_CACHE_HOME" export ABDUCO_CMD="$SHELL" -export EMAIL="mail@josuah.net" +export NAME='Josuah Demangeon' +export EMAIL='mail@josuah.net' export MAIL="$HOME/Mail/INBOX" export ENV="$HOME/.profile" @@ -61,7 +62,34 @@ alias cl='printf "\033[H\033[2J"' alias bh='busybox --help' alias myip='curl icanhazip.com' alias lines='find . -name "*.[ch]" | xargs wc -l' -alias retro='setfont ~/.local/share/fonts/vector-16.psf; io-tty-theme exo' + + +theme() +{ + case "$1" in + + retro ) + setfont ~/.local/share/consolefonts/vector-16.psf; + io-tty-theme exo; + ;; + + matrix ) + setfont ~/.local/share/consolefonts/vector-16.psf; + io-tty-theme matrix; + cmatrix -ab; + ;; + + light ) + setfont ~/.local/share/consolefonts/solarize-29.psf + io-tty-theme solarized-light + ;; + + black ) + setfont ~/.local/share/consolefonts/tamsyn-16n.psf + io-tty-theme coal + ;; + esac +} color() @@ -212,7 +240,7 @@ main() if [ "$TERM" = 'linux' ] then io-tty-theme coal - setfont ~/.local/share/fonts/tamzen-16.psf + setfont ~/.local/share/consolefonts/tamzen-16.psf fi } diff --git a/.vim/vimrc b/.vim/vimrc @@ -1,6 +1,8 @@ " Using vim's features rather than plugins 2016-11-27 +" " . __ _ _ " \/ | ||| | (_ +" "_______________________________________________________________________________ @@ -41,9 +43,10 @@ set scrolloff=3 let &colorcolumn=join(range(81,90),",") " backup -set backupdir=~/.cache/vim// set directory=~/.cache/vim// -set undodir=~/.cache/vim// +set backupdir=~/.cache/vim// +set undodir=~/.cache/vim// +set viminfo+=n~/.cache/vim/viminfo " editing set virtualedit=block