mirror of
https://github.com/notwa/rc
synced 2024-11-05 03:29:02 -08:00
Merge branch 'master' of github.com:notwa/rc
This commit is contained in:
commit
92a51b885b
6 changed files with 7 additions and 49 deletions
|
@ -18,6 +18,9 @@ r="$HOME/.gem/ruby/2.2.0/bin"
|
||||||
mkdir -p "$r" && ADDPATH "$r"
|
mkdir -p "$r" && ADDPATH "$r"
|
||||||
unset r
|
unset r
|
||||||
|
|
||||||
|
export GOPATH="$HOME/go"
|
||||||
|
ADDPATH "$GOPATH/bin"
|
||||||
|
|
||||||
ify() {
|
ify() {
|
||||||
[ $# -ge 2 ] || return
|
[ $# -ge 2 ] || return
|
||||||
local ex=$1
|
local ex=$1
|
||||||
|
@ -54,7 +57,6 @@ export VST_SDK_DIR="$HOME/src/vstsdk2.4"
|
||||||
export LADSPA_PATH="/usr/lib/ladspa"
|
export LADSPA_PATH="/usr/lib/ladspa"
|
||||||
|
|
||||||
export EDITOR='vim -p'
|
export EDITOR='vim -p'
|
||||||
export GOPATH="$HOME/go"
|
|
||||||
|
|
||||||
# colors
|
# colors
|
||||||
for x in ls dir vdir grep fgrep egrep; do
|
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 exts='print -l *(:e:l) | sort | uniq -c | sort -n'
|
||||||
alias meow='( cd ~/play/meow; ~/sh/meow.sh/run -pa )'
|
alias meow='( cd ~/play/meow; ~/sh/meow.sh/run -pa )'
|
||||||
alias nocom='grep -oP --line-buffered --color=never "^[^#]+"'
|
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 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 picky='{ pacman -Qgq base base-devel | tee -; pacman -Qtnq; } | sort | uniq -u'
|
||||||
alias unused='{ pacman -Qt; pacman -Qe | tee -; } | sort | uniq -u'
|
alias unused='{ pacman -Qt; pacman -Qe | tee -; } | sort | uniq -u'
|
||||||
|
|
20
home/conkyrc
20
home/conkyrc
|
@ -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}
|
|
19
home/xinitrc
19
home/xinitrc
|
@ -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
|
|
4
install
4
install
|
@ -53,8 +53,8 @@ PATH="${PATH:?No existing PATH}:$rc/sh"
|
||||||
|
|
||||||
backup_dir="$rc/backup-$(date '+%s')"
|
backup_dir="$rc/backup-$(date '+%s')"
|
||||||
|
|
||||||
for f in .bashrc .zshrc .-shrc .vimrc .conkyrc \
|
for f in .bashrc .zshrc .-shrc .vimrc \
|
||||||
.inputrc .screenrc .xinitrc .indent.pro .uncrustify.cfg; do
|
.inputrc .screenrc .indent.pro .uncrustify.cfg; do
|
||||||
dotless "$f"
|
dotless "$f"
|
||||||
r="$rc/home/$REPLY"
|
r="$rc/home/$REPLY"
|
||||||
hardlink "$f" "$r"
|
hardlink "$f" "$r"
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
[default]
|
|
||||||
volume=70
|
|
||||||
#af=drc
|
|
||||||
msg-level=all=info
|
|
||||||
osd-level=1
|
|
||||||
#border=no
|
|
||||||
vo=vaapi
|
|
Loading…
Reference in a new issue