diff --git a/home/-shrc b/home/-shrc index fd96b69..c157e5c 100644 --- a/home/-shrc +++ b/home/-shrc @@ -18,6 +18,9 @@ r="$HOME/.gem/ruby/2.2.0/bin" mkdir -p "$r" && ADDPATH "$r" unset r +export GOPATH="$HOME/go" +ADDPATH "$GOPATH/bin" + ify() { [ $# -ge 2 ] || return local ex=$1 @@ -54,7 +57,6 @@ export VST_SDK_DIR="$HOME/src/vstsdk2.4" export LADSPA_PATH="/usr/lib/ladspa" export EDITOR='vim -p' -export GOPATH="$HOME/go" # colors for x in ls dir vdir grep fgrep egrep; do @@ -92,6 +94,8 @@ alias counts='find . | wc -l' alias exts='print -l *(:e:l) | sort | uniq -c | sort -n' alias meow='( cd ~/play/meow; ~/sh/meow.sh/run -pa )' alias nocom='grep -oP --line-buffered --color=never "^[^#]+"' +alias jrep='grep -aPo "[\x{20}-\x{7E}\x{4E00}-\x{9FFF}\x{3040}-\x{30FF}]+"' +alias bomb='uconv -f utf-8 -t utf-8 --add-signature' alias unwrap='awk '\''BEGIN{RS="\n\n";FS="\n"}{for(i=1;i<=NF;i++)printf "%s ",$i;print "\n"}'\' alias picky='{ pacman -Qgq base base-devel | tee -; pacman -Qtnq; } | sort | uniq -u' alias unused='{ pacman -Qt; pacman -Qe | tee -; } | sort | uniq -u' diff --git a/home/conkyrc b/home/conkyrc deleted file mode 100644 index 0843b81..0000000 --- a/home/conkyrc +++ /dev/null @@ -1,20 +0,0 @@ -background yes -own_window yes -own_window_type desktop -own_window_transparent yes -own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager -double_buffer yes -use_xft yes -xftfont DejaVu Sans Mono:size=12 -gap_x 18 -gap_y 18 -alignment bottom_left - -TEXT -${color grey} RAM:$color $mem / $memmax $alignr($memperc%) -${color grey}Swap:$color $swap / $swapmax $alignr($swapperc%) -${color grey} CPU:$color ${cpugraph 24,210} -${color grey}Proc:$color $processes $color($running_processes)\ - ${color grey}Up:$color ${upspeed eth0} ${color grey}Down:$color ${downspeed eth0} -${color lightgrey}${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1} -${color lightgrey}${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2} diff --git a/home/xinitrc b/home/xinitrc deleted file mode 100644 index c2a2e5b..0000000 --- a/home/xinitrc +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh -# -# ~/.xinitrc -# -# Executed by startx (run your window manager from here) - -if [ -d /etc/X11/xinit/xinitrc.d ]; then - for f in /etc/X11/xinit/xinitrc.d/*; do - [ -x "$f" ] && . "$f" - done - unset f -fi - -#glxinfo - -# exec gnome-session -# exec startkde -# exec startxfce4 -# ...or the Window Manager of your choice diff --git a/install b/install index 0bffe5f..3c206ca 100755 --- a/install +++ b/install @@ -53,8 +53,8 @@ PATH="${PATH:?No existing PATH}:$rc/sh" backup_dir="$rc/backup-$(date '+%s')" -for f in .bashrc .zshrc .-shrc .vimrc .conkyrc \ - .inputrc .screenrc .xinitrc .indent.pro .uncrustify.cfg; do +for f in .bashrc .zshrc .-shrc .vimrc \ + .inputrc .screenrc .indent.pro .uncrustify.cfg; do dotless "$f" r="$rc/home/$REPLY" hardlink "$f" "$r" diff --git a/mpv/config b/mpv/config deleted file mode 100644 index ff894f3..0000000 --- a/mpv/config +++ /dev/null @@ -1,7 +0,0 @@ -[default] -volume=70 -#af=drc -msg-level=all=info -osd-level=1 -#border=no -vo=vaapi diff --git a/input.conf b/mpv/input.conf similarity index 100% rename from input.conf rename to mpv/input.conf