dot

packages and services management
Log | Files | Refs | README

commit b5d7974b543a06135b68eb651604464b531650b7
parent 71486ebb86956cfb088f25abe1f72df676960ce1
Author: Josuah Demangeonā  ā µ <mail@josuah.net>
Date:   Thu, 23 Mar 2017 11:17:46 +0100

flatter structure

Diffstat:
R.emacs -> .emacs.d/init.el | 0
R.config/abduco/config.h -> abduco/config.h | 0
R.config/atreus/layout.h -> atreus/layout.h | 0
Mbin/build | 15+++++++--------
R.config/cron/tab -> cron/tab | 0
R.config/dvtm/config.h -> dvtm/config.h | 0
R.config/dvtm/dvtm-focused-tags.diff.disabled -> dvtm/dvtm-focused-tags.diff.disabled | 0
R.config/dvtm/dvtm-status -> dvtm/dvtm-status | 0
R.config/dvtm/dvtm-statusline.diff -> dvtm/dvtm-statusline.diff | 0
R.config/dvtm/dvtm.c-0.14-pertag.diff -> dvtm/dvtm.c-0.14-pertag.diff | 0
R.config/dvtm/gaps.diff -> dvtm/gaps.diff | 0
R.config/dwm/config.h -> dwm/config.h | 0
R.config/dwm/config.mk -> dwm/config.mk | 0
R.config/dwm/dwm-pertag-6.1.diff -> dwm/dwm-pertag-6.1.diff | 0
R.config/ii/ii-1.7-ssl.diff -> ii/ii-1.7-ssl.diff | 0
R.config/ngircd/ngircd.conf -> ngircd/ngircd.conf | 0
16 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/.emacs b/.emacs.d/init.el diff --git a/.config/abduco/config.h b/abduco/config.h diff --git a/.config/atreus/layout.h b/atreus/layout.h diff --git a/bin/build b/bin/build @@ -1,9 +1,8 @@ # Install sources from build receipes -export BUILD="${0%/*}/../build" export LOCAL="$HOME/.local" -export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}" +export CONFIG="${CONFIG:-$HOME/.config}" export PROGRAMS="$HOME/programs" export PATH="$LOCAL/sbin:$LOCAL/bin:$PATH" export CPATH="$LOCAL/include:$CPATH" @@ -32,10 +31,10 @@ ${0##*/} v[iew] View the list of available packages view() { - find -L "$BUILD" -type f | while IFS='' read -r f + find -L "$CONFIG/build" -type f | while IFS='' read -r f do read -r comment description < "$f" - printf ' %-12s %s\n' "${f#$BUILD/}" "$description" + printf ' %-12s %s\n' "${f#$CONFIG/build/}" "$description" done | sort | more exit 0 } @@ -58,9 +57,9 @@ info() # build() { - find "$XDG_CONFIG_HOME/$1" -name '*.diff' -exec patch -N -p 1 -i {} \; + find "$CONFIG/$1" -name '*.diff' -exec patch -N -p 1 -i {} \; - for file in "$XDG_CONFIG_HOME/$1/config.mk" "$XDG_CONFIG_HOME/$1/config.h" + for file in "$CONFIG/$1/config.mk" "$CONFIG/$1/config.h" do [ -h "$file" ] || [ -f "$file" ] && cp -f "$file" . done @@ -75,7 +74,7 @@ build() compile() { name="$1" - PREFIX="$PROGRAMS/$name" script="$BUILD/$name" + PREFIX="$PROGRAMS/$name" script="$CONFIG/build/$name" export PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 export PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 @@ -94,7 +93,7 @@ compile() download() { - name="$1" tar="$2" script="$BUILD/$name" + name="$1" tar="$2" script="$CONFIG/build/$name" [ -d "$PROGRAMS/$name/src" ] && die "$name" "already in $PROGRAMS" [ -f "$script" ] || [ -h "$script" ] || die "$name" "no build script" diff --git a/.config/cron/tab b/cron/tab diff --git a/.config/dvtm/config.h b/dvtm/config.h diff --git a/.config/dvtm/dvtm-focused-tags.diff.disabled b/dvtm/dvtm-focused-tags.diff.disabled diff --git a/.config/dvtm/dvtm-status b/dvtm/dvtm-status diff --git a/.config/dvtm/dvtm-statusline.diff b/dvtm/dvtm-statusline.diff diff --git a/.config/dvtm/dvtm.c-0.14-pertag.diff b/dvtm/dvtm.c-0.14-pertag.diff diff --git a/.config/dvtm/gaps.diff b/dvtm/gaps.diff diff --git a/.config/dwm/config.h b/dwm/config.h diff --git a/.config/dwm/config.mk b/dwm/config.mk diff --git a/.config/dwm/dwm-pertag-6.1.diff b/dwm/dwm-pertag-6.1.diff diff --git a/.config/ii/ii-1.7-ssl.diff b/ii/ii-1.7-ssl.diff diff --git a/.config/ngircd/ngircd.conf b/ngircd/ngircd.conf