dot

packages and services management
Log | Files | Refs | README

commit 8795f74d5b8b2b97b4ae5888157f2c8d08049b0e
parent 384050ec3b69746cb88daf2daa334233a4259968
Author: josuah <mail@josuah.net>
Date:   Mon, 10 Oct 2016 16:23:53 -0400

Moving scripts and documenting config

Diffstat:
ABUILD/bin.sh | 0
RBUILD/s-nail.sh -> BUILD/s-mailx.sh | 0
MREADME | 24+++++++++++++++++-------
ASCRIPTS/environment | 14++++++++++++++
Rabduco/build/config.h -> abduco/config.h | 0
Rscripts/bin/adagio -> bin/adagio | 0
Rscripts/bin/agenda -> bin/agenda | 0
Rscripts/bin/bkm -> bin/bkm | 0
Rscripts/bin/blawk -> bin/blawk | 0
Rscripts/bin/buffers -> bin/buffers | 0
Rscripts/bin/complete -> bin/complete | 0
Rscripts/config/agenda -> bin/config/agenda | 0
Rscripts/config/bkm -> bin/config/bkm | 0
Rfeeds/config/read -> bin/config/read | 0
Rscripts/config/todo -> bin/config/todo | 0
Rfeeds/config/urls -> bin/config/urls | 0
Rscripts/bin/dna -> bin/dna | 0
Rscripts/bin/drawk -> bin/drawk | 0
Rfeeds/bin/feeds -> bin/feeds | 0
Rscripts/bin/fig -> bin/fig | 0
Rscripts/bin/irc -> bin/irc | 0
Rscripts/bin/lsync2 -> bin/lsync2 | 0
Rscripts/bin/music -> bin/music | 0
Rscripts/bin/peax -> bin/peax | 0
Rscripts/bin/piano -> bin/piano | 0
Rscripts/bin/piped -> bin/piped | 0
Rscripts/bin/swiper -> bin/swiper | 0
Rscripts/bin/todo -> bin/todo | 0
Rscripts/bin/updd -> bin/updd | 0
Rscripts/bin/www -> bin/www | 0
Rdvtm/build/config.h -> dvtm/config.h | 0
Rdvtm/build/dvtm-focused-tags.diff.disabled -> dvtm/dvtm-focused-tags.diff.disabled | 0
Rdvtm/build/dvtm-status -> dvtm/dvtm-status | 0
Rdwm/build/config.h -> dwm/config.h | 0
Rdwm/build/config.mk -> dwm/config.mk | 0
Rdwm/build/dwm-6.1-systray.diff -> dwm/dwm-6.1-systray.diff | 0
Rdwm/build/dwm-bottomstack-6.1.diff -> dwm/dwm-bottomstack-6.1.diff | 0
Rdwm/build/dwm-pertag-6.1.diff -> dwm/dwm-pertag-6.1.diff | 0
Rdwm/build/dwm-uselessgap-6.1.diff -> dwm/dwm-uselessgap-6.1.diff | 0
Remacs/emacs.d/init.el -> emacs/.emacs.d/init.el | 0
Risync/mbsyncrc -> isync/.mbsyncrc | 0
Rmsmtp/msmtprc -> msmtp/.msmtprc | 0
Rs-nail/mailrc -> s-mailx/.mailrc | 0
Rshell/profile -> shell/.profile | 0
Mshell/config/environment | 16++++------------
Mshell/config/functions | 5+++--
Rst/build/config.h -> st/config.h | 0
Rst/build/st-0.6-argbbg.diff -> st/st-0.6-argbbg.diff | 0
Rvim/vim/plugins -> vim/.vim/plugins | 0
Rvim/vim/vimrc -> vim/.vim/vimrc | 0
Rxorg/xinitrc -> xorg/.xinitrc | 0
51 files changed, 38 insertions(+), 21 deletions(-)

diff --git a/BUILD/bin.sh b/BUILD/bin.sh diff --git a/BUILD/s-nail.sh b/BUILD/s-mailx.sh diff --git a/README b/README @@ -14,8 +14,11 @@ Portable environment to keep software, configuration and data across devices. Each program to configure has a directory in the top level with its configuration files (aka. dotfiles), to link in the home directory. - All file starting with a dot will be linked in the home directory, - others will be ignored. + +DIRECTORY STRUCTURE +-------------------------------------------------------------------------------- + + All file starting with a "." will be linked in the home directory: ~~~ Config/ Root of the Config repo, to put anywhere @@ -29,9 +32,8 @@ Portable environment to keep software, configuration and data across devices. | `- config/ignore Linked in ~/.config/git/ignore. | `- dwm/ - | `- config.h Resource to compile program1, not linked. + | `- config.h Resource to compile dwm (not linked). | `- dwm-pertag-6.1.diff Patch automatically applied while installing. - | `- bin/status Linked in $LOCAL/bin/status. | `- ... | @@ -46,6 +48,14 @@ Portable environment to keep software, configuration and data across devices. `- ... Other tools for data and configurations... ~~~ - As you can see, in each program's config directory, you can use - "config" as a shortcut to ".config/program-name/" and "bin" as - "$LOCAL/bin". "$LOCAL" is "~/.local" by default + As you can see, in each program's directory, you can use "config" + as a shortcut to ".config/program-name/". + + +ENVIRONMENT VARIABLES +-------------------------------------------------------------------------------- + + To work properly, Config needs a few environment variables. They + are contained in SCRIPTS/config/environment + + - diff --git a/SCRIPTS/environment b/SCRIPTS/environment @@ -0,0 +1,14 @@ +# Environment variables for Config + +# You may want to source this script from your .bashrc, .zshrc, .profile...: + +# . ~/.config/config/environment + +export CONFIG="$HOME/Config" +export PROGRAMS="$HOME/Programs" +export LOCAL="$HOME/.local" + +export MANPATH="$LOCAL/share/man:$LOCAL/man:$MANPATH" +export CPATH="$LOCAL/include:$CPATH" +export LD_LIBRARY_PATH="$LOCAL/lib:$LD_LIBRARY_PATH" +export LD_RUN_PATH="$LOCAL/lib:$LD_LIBRARY_PATH" diff --git a/abduco/build/config.h b/abduco/config.h diff --git a/scripts/bin/adagio b/bin/adagio diff --git a/scripts/bin/agenda b/bin/agenda diff --git a/scripts/bin/bkm b/bin/bkm diff --git a/scripts/bin/blawk b/bin/blawk diff --git a/scripts/bin/buffers b/bin/buffers diff --git a/scripts/bin/complete b/bin/complete diff --git a/scripts/config/agenda b/bin/config/agenda diff --git a/scripts/config/bkm b/bin/config/bkm diff --git a/feeds/config/read b/bin/config/read diff --git a/scripts/config/todo b/bin/config/todo diff --git a/feeds/config/urls b/bin/config/urls diff --git a/scripts/bin/dna b/bin/dna diff --git a/scripts/bin/drawk b/bin/drawk diff --git a/feeds/bin/feeds b/bin/feeds diff --git a/scripts/bin/fig b/bin/fig diff --git a/scripts/bin/irc b/bin/irc diff --git a/scripts/bin/lsync2 b/bin/lsync2 diff --git a/scripts/bin/music b/bin/music diff --git a/scripts/bin/peax b/bin/peax diff --git a/scripts/bin/piano b/bin/piano diff --git a/scripts/bin/piped b/bin/piped diff --git a/scripts/bin/swiper b/bin/swiper diff --git a/scripts/bin/todo b/bin/todo diff --git a/scripts/bin/updd b/bin/updd diff --git a/scripts/bin/www b/bin/www diff --git a/dvtm/build/config.h b/dvtm/config.h diff --git a/dvtm/build/dvtm-focused-tags.diff.disabled b/dvtm/dvtm-focused-tags.diff.disabled diff --git a/dvtm/build/dvtm-status b/dvtm/dvtm-status diff --git a/dwm/build/config.h b/dwm/config.h diff --git a/dwm/build/config.mk b/dwm/config.mk diff --git a/dwm/build/dwm-6.1-systray.diff b/dwm/dwm-6.1-systray.diff diff --git a/dwm/build/dwm-bottomstack-6.1.diff b/dwm/dwm-bottomstack-6.1.diff diff --git a/dwm/build/dwm-pertag-6.1.diff b/dwm/dwm-pertag-6.1.diff diff --git a/dwm/build/dwm-uselessgap-6.1.diff b/dwm/dwm-uselessgap-6.1.diff diff --git a/emacs/emacs.d/init.el b/emacs/.emacs.d/init.el diff --git a/isync/mbsyncrc b/isync/.mbsyncrc diff --git a/msmtp/msmtprc b/msmtp/.msmtprc diff --git a/s-nail/mailrc b/s-mailx/.mailrc diff --git a/shell/profile b/shell/.profile diff --git a/shell/config/environment b/shell/config/environment @@ -2,12 +2,11 @@ # |__ ---. . , , .,-- ,--. ---. --.-. ,--. ---. |-- # | | | \ / | | | | | | | | | |--' | | | # ---- ' ' ' ' ' `--' ' ' ' ' ' `--' ' ' ' -# ------------------------------------------------------------------------------ -# Environment variables. +#------------------------------------------------------------------------------- +# Environment variables -# The right place would have been '.pam_environment', but Debian prevent -# users to set the path in it, considering that it would be a security -# risk. +# The right place would have been '.pam_environment', but Debian prevents +# users to set $PATH in it, considering it as a security threat. export EMAIL="mail@josuah.net" @@ -27,9 +26,6 @@ export FILTER="fzy" # Like fzy, fzf, dmenu... #------------------------------------------------------------------------------- export MAIL="${HOME}/Mail/INBOX" -export CONFIG="${HOME}/Config" -export PROGRAMS="${HOME}/Programs" -export LOCAL="${HOME}/.local" export ENV="${HOME}/.profile" export XDG_CONFIG_HOME="${HOME}/.config" # If it is not set by default. export XDG_CACHE_HOME="${HOME}/.cache" @@ -41,7 +37,3 @@ export ABDUCO_SOCKET_DIR="${XDG_CACHE_HOME}/" # With a trailing backslash. #------------------------------------------------------------------------------- export PATH="${LOCAL}/bin:${CONFIG}/bin:${PATH}" -export MANPATH="${LOCAL}/share/man:${LOCAL}/man:${MANPATH}" -export CPATH="${LOCAL}/include:${CPATH}" -export LD_LIBRARY_PATH="${LOCAL}/lib:${LD_LIBRARY_PATH}" -export LD_RUN_PATH="${LOCAL}/lib:${LD_LIBRARY_PATH}" diff --git a/shell/config/functions b/shell/config/functions @@ -3,7 +3,7 @@ # | | | | | | | | | | | | `--. # ' `--` ' ' `--' ' ' `--' ' ' ---' 2016-10-08 #------------------------------------------------------------------------------- -# Shell-agnostic functions for interactive use. +# POSIX shell functions for interactive use. # APPEARANCE @@ -23,7 +23,8 @@ color() for in in in in do for i in 1 2 3 4 5 6 7 - do printf ' \033[3%sm██\033[1mâ–ˆ\033[0m\033[3%sm██' $i $i + do + printf ' \033[3%sm███\033[1m█\033[0m\033[3%sm███' $i $i done printf '\n' done diff --git a/st/build/config.h b/st/config.h diff --git a/st/build/st-0.6-argbbg.diff b/st/st-0.6-argbbg.diff diff --git a/vim/vim/plugins b/vim/.vim/plugins diff --git a/vim/vim/vimrc b/vim/.vim/vimrc diff --git a/xorg/xinitrc b/xorg/.xinitrc