1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-06-01 23:43:07 -07:00

Merge branch 'master' of github.com:notwa/rc

This commit is contained in:
Connor Olding 2015-05-20 20:18:06 -07:00
commit 92a51b885b
6 changed files with 7 additions and 49 deletions

View File

@ -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'

View File

@ -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}

View File

@ -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

View File

@ -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"

View File

@ -1,7 +0,0 @@
[default]
volume=70
#af=drc
msg-level=all=info
osd-level=1
#border=no
vo=vaapi