commit 874eec9a74980de63482d805a1d2e2958f477cee parent 0d56bf61e8d166f19135084322332527f67a7035 Author: Xiaodong Xu <[email protected]> Date: Sat Aug 11 12:06:55 +0800 Add gemrc, ubuntu font for xdefaults Diffstat:
.Xdefaults | | | 2 | +- |
.Xdefaults.d/fonts/envycoder_droid | | | 2 | +- |
.Xdefaults.d/fonts/ubuntu_droid | | | 9 | +++++++++ |
.bashrc | | | 5 | +++-- |
.fehbg | | | 2 | +- |
.gemrc | | | 2 | ++ |
.pentadactylrc | | | 4 | +++- |
.pryrc | | | 4 | +--- |
.xinitrc | | | 10 | ++++++---- |
.zathurarc | | | 4 | ++-- |
.zshrc | | | 8 | ++++---- |
diff --git a/.Xdefaults b/.Xdefaults @@ -1,6 +1,6 @@ ! ! author : Xu Xiaodong <[email protected]> -! modified : 2012 Jul 15 +! modified : 2012 Jul 30 ! !-- colorscheme & font --! diff --git a/.Xdefaults.d/fonts/envycoder_droid b/.Xdefaults.d/fonts/envycoder_droid @@ -1,6 +1,6 @@ ! ! author : Xu Xiaodong <[email protected]> -! modified : 2012 Jun 22 +! modified : 2012 Jul 20 ! URxvt.font : xft:envy code r for powerline:size=10,xft:droid sans fallback:size=10 diff --git a/.Xdefaults.d/fonts/ubuntu_droid b/.Xdefaults.d/fonts/ubuntu_droid @@ -0,0 +1,9 @@ +! +! author : Xu Xiaodong <[email protected]> +! modified : 2012 Jul 20 +! + +URxvt.font : xft:ubuntu mono for powerline:size=10,xft:droid sans fallback:size=10 +URxvt.boldFont : xft:ubuntu mono for powerline:size=10,xft:droid sans fallback:size=10 + +! vim: ai:et:ts=2:sw=2:tw=78:ft=xdefaults diff --git a/.bashrc b/.bashrc @@ -1,6 +1,6 @@ # # author: Xu Xiaodong <[email protected]> -# modified: 2012 Jun 23 +# modified: 2012 Jul 30 # # prompt @@ -23,7 +23,7 @@ boCyan="\[\033[1;36m\]" liWhite="\[\033[0;37m\]" boWhite="\[\033[1;37m\]" -PS1="\n$boGreen\u$liWhite at $boBlue\h$liWhite in $boRed\w $liYellow{\[\`let exitstatus=\$? ; if [[ \${exitstatus} != 0 ]] ; then echo \"\${exitstatus}\" ; else echo "0" ; fi\`\]} \n$liRed∞ $liWhite" +PS1="\n$boGreen┌─ \u$liWhite at $boBlue\h$liWhite in $boRed\w $liYellow{\[\`let exitstatus=\$? ; if [[ \${exitstatus} != 0 ]] ; then echo \"\${exitstatus}\" ; else echo "0" ; fi\`\]} \n$boGreen└─$liRed ∞ $liWhite" # alias if [ "$TERM" != "dumb" ]; then @@ -31,6 +31,7 @@ if [ "$TERM" != "dumb" ]; then fi alias ll='ls -lsh' +alias sd='shutdown -h now' # completion if [ -f /etc/bash_completion ]; then diff --git a/.fehbg b/.fehbg @@ -1 +1 @@ -feh --bg-tile '/home/xiaodong/pic/pinstriped_suit.png' +feh --no-xinerama --bg-scale '/home/xiaodong/pic/cat.jpg' diff --git a/.gemrc b/.gemrc @@ -0,0 +1,2 @@ +install: --no-rdoc --no-ri +update: --no-rdoc --no-ri diff --git a/.pentadactylrc b/.pentadactylrc @@ -1,12 +1,14 @@ " " author: Xu Xiaodong <[email protected]> -" modified: 2012 Jul 15 +" modified: 2012 Aug 02 " "-- look --" set guioptions=Cs set showtabline=never +set showstatuslinks=command +set hintkeys=asdfg;lkjh colorscheme zenburn diff --git a/.pryrc b/.pryrc @@ -1,13 +1,11 @@ # # author : Xu Xiaodong <[email protected]> -# modified : 2012 Jul 15 +# modified : 2012 Jul 22 # require 'term/ansicolor' -require 'awesome_print' include Term::ANSIColor Pry.config.editor = "vim" Pry.config.prompt = proc { |obj, nest_level, _| "#{magenta}#{RUBY_VERSION}) #{yellow}#{nest_level}.#{obj} #{green}> #{reset}" } -Pry.config.print = proc { |output, value| Pry::Helpers::BaseHelpers.stagger_output("=> #{value.ai}", output) } diff --git a/.xinitrc b/.xinitrc @@ -1,9 +1,13 @@ #!/bin/sh # # author : Xu Xiaodong <[email protected]> -# modified : 2012 Jul 15 +# modified : 2012 Aug 11 # +#-- font --# +xset +fp /usr/share/fonts/ohsnap +xset fp rehash + #-- powersave --# xset +dpms xset dpms 0 0 300 @@ -16,13 +20,11 @@ fcitx & #-- app --# xmodmap ~/.xmodmaprc & # swap Caps_Lock and Control_L compton -o 0.2 -l 1 -cGb # add fancy shadows -autocutsel & # sync copy/paste buffers unclutter -idle 5 & # hide mouse cursor syndaemon -t -k -i 2 -d & # disable trackpad while typing urxvtd -q -f -o # urxvt daemon -(sleep 2 && bar) & # status bar eval $(cat ~/.fehbg) # set wallpaper urxvtc -e sh -c "tmuxen" & # start tmux #-- wm --# -exec dwm +exec monbar diff --git a/.zathurarc b/.zathurarc @@ -1,11 +1,11 @@ # # author: Xu Xiaodong <[email protected]> -# modified: 2012 Jun 17 +# modified: 2012 Aug 04 # # hide *bar set show_inputbar 0 -set show_statusbar 0 +#set show_statusbar 0 # bindkey map q quit diff --git a/.zshrc b/.zshrc @@ -1,6 +1,6 @@ # # author: Xu Xiaodong <[email protected]> -# modified: 2012 Jul 11 +# modified: 2012 Jul 19 # export ZSH=$HOME/code/oh-my-zsh @@ -8,9 +8,9 @@ export ZSH_THEME="codefun" export DISABLE_AUTO_TITLE="true" export DISABLE_AUTO_UPDATE="true" -plugins=(command-coloring gem git github perl ruby rvm) +plugins=(command-coloring gem git github perl ruby) source $ZSH/oh-my-zsh.sh -# Load RVM into a shell session *as a function* -#[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" +# rbenv +eval "$(rbenv init -)"