From 80c419e92c1be5248234bf768acd9cd707ca525e Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Wed, 11 Feb 2015 18:44:36 -0500 Subject: [PATCH] Minor changes --- i3/config | 5 ++++- shells/Xresources | 7 +++++++ shells/zshrc | 43 +++++++++++++++++++++++++++++++------------ 3 files changed, 42 insertions(+), 13 deletions(-) diff --git a/i3/config b/i3/config index f306f3b..a97ecd0 100644 --- a/i3/config +++ b/i3/config @@ -36,7 +36,9 @@ client.urgent $rd $rd $tx # finds out, if available) bar { status_command i3status --config ~/.i3/i3status.conf - mode hide + font -*-*-*-*-*-*-8-*-*-*-*-*-*-* + #mode hide + #position top modifier Mod4 tray_output primary tray_output LVDS1 @@ -77,6 +79,7 @@ mode "resize" { } #font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 floating_modifier $mod +bindsym $mod+z exec xdotool click 3 bindsym $mod+i border normal bindsym $mod+shift+i border 1pixel bindsym $mod+Return exec xterm diff --git a/shells/Xresources b/shells/Xresources index c9b3775..238b8f0 100644 --- a/shells/Xresources +++ b/shells/Xresources @@ -1,3 +1,10 @@ +XTerm*antialias: true +XTerm*hinting: true +XTerm*hintstyle: hintlight +XTerm*rgba: rgb +XTerm*font: xft:DejaVu Sans Mono-8 +XTerm*letterSpace: -1 + XTerm*faceSize: 9 XTerm*utf8: 1 XTerm*vt100*geometry: 80x60 diff --git a/shells/zshrc b/shells/zshrc index ddcb79b..bfc0dea 100644 --- a/shells/zshrc +++ b/shells/zshrc @@ -13,22 +13,41 @@ SAVEHIST=10000000 setopt HIST_EXPIRE_DUPS_FIRST setopt EXTENDED_HISTORY # export PAGER=/usr/bin/w3m +plugins=(wd gem pass pip python sudo vagrant) +DISABLE_AUTO_UPDATE="true" source "$HOME/.antigen/antigen.zsh" antigen bundle stonewareslord/oh-my-git #antigen bundle arialdomartini/oh-my-git +printf "oh-my-zsh..." antigen use oh-my-zsh +#printf "wd..." +#antigen bundle wd +#printf "gem..." +#antigen bundle gem +printf "pass..." +antigen bundle pass +#printf "pip..." +#antigen bundle pip +#printf "python..." +#antigen bundle python +printf "sudo..." +antigen bundle sudo +printf "vagrant..." +antigen bundle vagrant +printf "oh-my-git..." antigen theme stonewareslord/oh-my-git-themes af-magic +printf "liquidprompt..." antigen bundle stonewareslord/liquidprompt +printf "zsh-completions..." antigen bundle zsh-users/zsh-completions src +printf "autoenv..." antigen bundle sharat87/autoenv +printf "syntax-highlighting..." +antigen bundle zsh-users/zsh-syntax-highlighting +printf "applying..." antigen apply +echo "done" -# Would you like to use another custom folder than $ZSH/custom? -# ZSH_CUSTOM=/path/to/new-custom-folder -# plugins=(wd gem gpg-agent pass pip python sudo vagrant) -plugins=(wd gem pass pip python sudo vagrant) -DISABLE_AUTO_UPDATE="true" -source $ZSH/oh-my-zsh.sh if [ -f /etc/zsh_command_not_found ] ; then source /etc/zsh_command_not_found fi @@ -214,15 +233,15 @@ function k(){ elif [ -f "$@" ] ; then #Extract if it's extractable case $1 in - *.tar.xz) tar xvf $1 ;; - *.tar.bz2) tar xvjf $1 ;; - *.tar.gz) tar xvzf $1 ;; + *.tar.xz) pv $1|tar xzf -;; + *.tar.bz2) pv $1|tar xjf -;; + *.tar.gz) pv $1|tar xzf -;; + *.tar) pv $1|tar xf ;; + *.tbz2) pv $1|tar xjf ;; + *.tgz) pv $1|tar xzf ;; *.bz2) bunzip2 $1 ;; *.rar) rar x $1 ;; *.gz) gunzip $1 ;; - *.tar) tar xvf $1 ;; - *.tbz2) tar xvjf $1 ;; - *.tgz) tar xvzf $1 ;; *.zip) unzip $1 ;; *.Z) uncompress $1 ;; *.7z) 7z x $1 ;;