dotfiles

dot files in ~
git clone git://git.unixkoans.com/dotfiles.git
Log | Files | Refs

commit e51fcad1d5171a85d5e393e39e3d00cf9ee4a2c7
parent afaba0217603d11dfc3f7453e9832be7387bcbca
Author: Xiaodong Xu <[email protected]>
Date:   Fri Jun 22 15:16:23 +0800

Add dwb config

Diffstat:
.Xdefaults | 6+++---
.Xdefaults.d/fonts/dina_wqy | 2+-
.Xdefaults.d/fonts/envycoder_droid | 6+++---
.Xdefaults.d/fonts/inconsolata_droid | 9---------
.Xdefaults.d/fonts/mensch_droid | 9---------
.Xdefaults.d/fonts/terminus_wqy | 6+++---
.conkyrc | 2+-
.dwbrc | 134+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.fonts.conf | 74+++++++++++++++++++++++++++++++++++++++++++++-----------------------------
.gtkrc.mine | 2+-
.irssi/default.theme | 2+-
.mplayer/config | 5+++--
.mutt/muttrc | 3++-
.rtorrent.rc | 4++--
.themes/BlackWhite/gtk-2.0/gtkrc | 10+++++-----
.tmux.conf | 6+++---
.xinitrc | 3++-
.zathurarc | 9++++-----
18 files changed, 213 insertions(+), 79 deletions(-)
diff --git a/.Xdefaults b/.Xdefaults @@ -1,11 +1,11 @@ ! ! author : Xu Xiaodong <[email protected]> -! modified : 2012 Jun 03 +! modified : 2012 Jun 22 ! !-- colorscheme & font --! # include ".Xdefaults.d/colors/solarized" -# include ".Xdefaults.d/fonts/sq_wqy" +# include ".Xdefaults.d/fonts/envycoder_droid" !-- xft --! ! hintstyle : hintnone | hintslight | hintmedium | hintfull @@ -14,7 +14,7 @@ Xft.dpi : 96 Xft.antialias : true Xft.autohint : false Xft.hinting : true -Xft.hintstyle : hintfull +Xft.hintstyle : hintslight Xft.rgba : rgb Xft.lcdfilter : lcdlight diff --git a/.Xdefaults.d/fonts/dina_wqy b/.Xdefaults.d/fonts/dina_wqy @@ -1,6 +1,6 @@ ! ! author : Xu Xiaodong <[email protected]> -! modified : 2012 May 15 +! modified : 2012 Jun 22 ! URxvt.font : xft:dina:size=9,xft:wenquanyi bitmap song:size=9 diff --git a/.Xdefaults.d/fonts/envycoder_droid b/.Xdefaults.d/fonts/envycoder_droid @@ -1,9 +1,9 @@ ! ! author : Xu Xiaodong <[email protected]> -! modified : 2012 May 31 +! modified : 2012 Jun 22 ! -URxvt.font : xft:envy code r:size=10,xft:droid sans fallback:size=10 -URxvt.boldFont : xft:envy code r:size=10:bold,xft:droid sans fallback:size=10:bold +URxvt.font : xft:envy code r for powerline:size=10,xft:droid sans fallback:size=10 +URxvt.boldFont : xft:envy code r for powerline:size=10:bold,xft:droid sans fallback:size=10:bold ! vim: ai:et:ts=2:sw=2:tw=78:ft=xdefaults diff --git a/.Xdefaults.d/fonts/inconsolata_droid b/.Xdefaults.d/fonts/inconsolata_droid @@ -1,9 +0,0 @@ -! -! author : Xu Xiaodong <[email protected]> -! modified : 2012 Apr 24 -! - -URxvt.font : xft:inconsolata:size=10,xft:droid sans fallback:size=10 -URxvt.boldFont : xft:inconsolata:size=10:bold,xft:droid sans fallback:size=10:bold - -! vim: ai:et:ts=2:sw=2:tw=78:ft=xdefaults diff --git a/.Xdefaults.d/fonts/mensch_droid b/.Xdefaults.d/fonts/mensch_droid @@ -1,9 +0,0 @@ -! -! author : Xu Xiaodong <[email protected]> -! modified : 2012 May 10 -! - -URxvt.font : xft:mensch for powerline:size=10,xft:droid sans fallback:size=10 -URxvt.boldFont : xft:mensch for powerline:size=10:bold,xft:droid sans fallback:size=10:bold - -! vim: ai:et:ts=2:sw=2:tw=78:ft=xdefaults diff --git a/.Xdefaults.d/fonts/terminus_wqy b/.Xdefaults.d/fonts/terminus_wqy @@ -1,9 +1,9 @@ ! ! author : Xu Xiaodong <[email protected]> -! modified : 2012 May 31 +! modified : 2012 Jun 18 ! -URxvt.font : xft:terminus:size=10,xft:wenquanyi bitmap song:size=8 -URxvt.boldFont : xft:terminus:size=10:bold,xft:wenquanyi bitmap song:size=8:bold +URxvt.font : xft:terminus:size=12,xft:wenquanyi bitmap song:size=10 +URxvt.boldFont : xft:terminus:size=12:bold,xft:wenquanyi bitmap song:size=10:bold ! vim: ai:et:ts=2:sw=2:tw=78:ft=xdefaults diff --git a/.conkyrc b/.conkyrc @@ -20,5 +20,5 @@ TEXT ^i(/home/xiaodong/.dico/mail.xpm) ^fg(\#dca3a3)${texeci 300 ~/bin/gmailcount}m \ ^i(/home/xiaodong/.dico/wifi.xpm) ^fg(\#8faf9f)${if_running wpa_supplicant}${wireless_link_qual_perc wlan0}%${else}n/a${endif} \ ^i(/home/xiaodong/.dico/bat.xpm) ^fg(\#dca3a3)${battery_percent}% \ -^i(/home/xiaodong/.dico/vol.xpm) ^fg(\#dca3a3)${texeci 60 ~/bin/volume} \ +^i(/home/xiaodong/.dico/vol.xpm) ^fg(\#8faf9f)${texeci 60 ~/bin/volume} \ ^i(/home/xiaodong/.dico/time.xpm) ^fg(\#f0dfaf)${time %a, %b %d / %T} diff --git a/.dwbrc b/.dwbrc @@ -0,0 +1,134 @@ + +[default] +user-stylesheet-uri=file:///home/xiaodong/.config/dwb/style.css +javascript-can-access-clipboard=false +complete-userscripts=false +enable-offline-web-application-cache=false +download-gradient-end=#00aa00 +tab-number-color=#7ac5cd +enable-default-context-menu=true +editable=false +background-tabs=false +status-allowed-color=#00ff00 +minimum-logical-font-size=5 +enable-page-cache=true +cache-model=webbrowser +sans-serif-font-family=Aller +prompt-color=#00ff00 +complete-searchengines=true +update-search-delay=200 +fantasy-font-family=serif +hint-fg-color=#000000 +sync-files=120 +default-height=600 +scrollbars=false +hint-bg-color=#ffffff +enable-developer-extras=false +complete-bookmarks=true +zoom-level=1.00 +download-use-external-program=true +enable-xss-auditor=true +custom-encoding= +normal-completion-fg-color=#eeeeee +close-tab-focus-policy=left +enable-dns-prefetching=true +new-tab-position-policy=right +auto-shrink-images=false +print-backgrounds=true +enable-caret-browsing=false +enable-scripts=true +adblocker-filterlist= +proxy=false +user-agent= +full-content-zoom=false +editor=urxvtc -e vim dwb_uri +enable-private-browsing=false +enable-favicon=false +hint-active-color=#00ff00 +resizable-text-areas=true +javascript-schemes=true +download-gradient-start=#0000aa +hint-normal-color=#ffff99 +spell-checking-languages= +cookies-accept-policy=always +font-nofocus= +status-blocked-color=#ffffff +download-fg-color=#ffffff +enable-plugins=true +enable-frame-flattening=false +ssl-use-system-ca-file=false +ssl-ca-cert=/etc/ssl/certs/ca-certificates.crt +cookies-store-policy=session +active-completion-fg-color=#53868b +hint-font=bold 10px Envy Code R +tabbed-browsing=true +hint-highlight-links=false +active-completion-bg-color=#000000 +enable-spell-checking=false +font-hidden-statusbar=normal 10px Envy Code R +tab-normal-fg-color-2=#dddddd +tab-normal-fg-color-1=#cccccc +default-monospace-font-size=10 +save-session=true +tabbar-visible=2 +auto-insert-mode=false +tab-normal-bg-color-2=#707070 +tab-normal-bg-color-1=#505050 +serif-font-family=Aller +enable-html5-local-storage=false +tab-protected-color=#ff0000 +hint-letter-seq=FDSARTGBVECWXQYIOPMNHZULKJ +use-ntlm=false +enable-html5-database=true +hint-autofollow=true +enable-dom-paste=false +javascript-can-open-windows-automatically=false +hint-border=1px solid #000000 +widget-packing=dtws +ssl-trusted-color=#00ff00 +enable-java-applet=true +hint-style=letter +navigation-history-max=500 +enable-site-specific-quirks=false +auto-resize-window=false +zoom-step=0.10 +default-font-family=Aller +ssl-untrusted-color=#ff0000 +plugin-blocker=true +startpage=dwb:bookmarks +normal-completion-bg-color=#151515 +cursive-font-family=serif +default-encoding=utf-8 +error-color=#ff0000 +hint-opacity=0.80 +proxy-url= +font-entry= +font=Envy Code R 10 +monospace-font-family=Envy Code R +enable-universal-access-from-file-uris=true +background-color=#000000 +default-width=800 +single-instance=true +auto-completion=false +minimum-font-size=5 +font-completion= +enable-spatial-navigation=false +download-directory=/home/xiaodong +adblocker=false +download-external-command=urxvtc -e wget dwb_uri -O dwb_output --load-cookies dwb_cookies +auto-load-images=true +tab-active-fg-color=#ffffff +tab-active-bg-color=#000000 +history-length=500 +download-no-confirm=true +download-bg-color=#000000 +enable-file-access-from-file-uris=true +complete-history=true +tab-key-cycles-through-elements=true +enforce-96-dpi=true +ssl-strict=true +scroll-step=0.00 +foreground-color=#ffffff +scheme-handler= +default-font-size=12 +message-delay=2 diff --git a/.fonts.conf b/.fonts.conf @@ -46,7 +46,7 @@ modified : 2012 Jun 03 <!-- hinting style (hintnone, hintslight, hintmedium, hintfull) --> <edit mode="assign" name="hintstyle"> - <const>hintfull</const> + <const>hintslight</const> </edit> <!-- lcd filtering (lcdnone, lcddefault, lcdlight, lcdlegacy) --> @@ -60,15 +60,15 @@ modified : 2012 Jun 03 <match> <test name="family" compare="eq"> - <string>courier</string> + <string>Courier</string> </test> <edit name="family" mode="prepend" binding="strong"> - <string>droid sans mono</string> + <string>Droid Sans Mono</string> </edit> <edit name="family" mode="prepend" binding="strong"> - <string>droid sans fallback</string> + <string>Droid Sans Fallback</string> </edit> </match> @@ -76,15 +76,15 @@ modified : 2012 Jun 03 <match> <test name="family" compare="eq"> - <string>courier new</string> + <string>Courier New</string> </test> <edit name="family" mode="prepend" binding="strong"> - <string>droid sans mono</string> + <string>Droid Sans Mono</string> </edit> <edit name="family" mode="prepend" binding="strong"> - <string>droid sans fallback</string> + <string>Droid Sans Fallback</string> </edit> </match> @@ -92,15 +92,15 @@ modified : 2012 Jun 03 <match> <test name="family" compare="eq"> - <string>fixed</string> + <string>Fixed</string> </test> <edit name="family" mode="prepend" binding="strong"> - <string>droid sans mono</string> + <string>Droid Sans Mono</string> </edit> <edit name="family" mode="prepend" binding="strong"> - <string>droid sans fallback</string> + <string>Droid Sans Fallback</string> </edit> </match> @@ -116,7 +116,7 @@ modified : 2012 Jun 03 </edit> <edit name="family" mode="prepend" binding="strong"> - <string>droid sans fallback</string> + <string>Droid Sans Fallback</string> </edit> </match> @@ -124,15 +124,15 @@ modified : 2012 Jun 03 <match> <test name="family" compare="eq"> - <string>verdana</string> + <string>Verdana</string> </test> <edit name="family" mode="prepend" binding="strong"> - <string>droid sans</string> + <string>Droid Sans</string> </edit> <edit name="family" mode="prepend" binding="strong"> - <string>droid sans fallback</string> + <string>Droid Sans Fallback</string> </edit> </match> @@ -140,15 +140,15 @@ modified : 2012 Jun 03 <match> <test name="family" compare="eq"> - <string>georgia</string> + <string>Georgia</string> </test> <edit name="family" mode="prepend" binding="strong"> - <string>droid serif</string> + <string>Droid Serif</string> </edit> <edit name="family" mode="prepend" binding="strong"> - <string>droid sans fallback</string> + <string>Droid Sans Fallback</string> </edit> </match> @@ -156,15 +156,15 @@ modified : 2012 Jun 03 <match> <test name="family" compare="eq"> - <string>helvetica</string> + <string>Helvetica</string> </test> <edit name="family" mode="prepend" binding="strong"> - <string>droid sans</string> + <string>Droid Sans</string> </edit> <edit name="family" mode="prepend" binding="strong"> - <string>droid sans fallback</string> + <string>Droid Sans Fallback</string> </edit> </match> @@ -172,15 +172,15 @@ modified : 2012 Jun 03 <match> <test name="family" compare="eq"> - <string>new century schoolbook</string> + <string>New Century Schoolbook</string> </test> <edit name="family" mode="prepend" binding="strong"> - <string>droid serif</string> + <string>Droid Serif</string> </edit> <edit name="family" mode="prepend" binding="strong"> - <string>droid sans fallback</string> + <string>Droid Sans Fallback</string> </edit> </match> @@ -188,15 +188,15 @@ modified : 2012 Jun 03 <match> <test name="family" compare="eq"> - <string>lucida grande</string> + <string>Lucida Grande</string> </test> <edit name="family" mode="prepend" binding="strong"> - <string>droid sans</string> + <string>Droid Sans</string> </edit> <edit name="family" mode="prepend" binding="strong"> - <string>droid sans fallback</string> + <string>Droid Sans Fallback</string> </edit> </match> @@ -204,15 +204,15 @@ modified : 2012 Jun 03 <match> <test name="family" compare="eq"> - <string>palatino</string> + <string>Palatino</string> </test> <edit name="family" mode="prepend" binding="strong"> - <string>droid sans</string> + <string>Droid Sans</string> </edit> <edit name="family" mode="prepend" binding="strong"> - <string>droid sans fallback</string> + <string>Droid Sans Fallback</string> </edit> </match> @@ -279,4 +279,20 @@ modified : 2012 Jun 03 </match> + <alias> + <family>serif</family> + <prefer> + <family>Buenard</family> + <family>Droid Sans Fallback</family> + </prefer> + </alias> + + <alias> + <family>sans-serif</family> + <prefer> + <family>Buenard</family> + <family>Droid Sans Fallback</family> + </prefer> + </alias> + </fontconfig> diff --git a/.gtkrc.mine b/.gtkrc.mine @@ -6,7 +6,7 @@ #-- xft --# gtk-xft-antialias = 1 gtk-xft-hinting = 1 -gtk-xft-hintstyle = hintfull +gtk-xft-hintstyle = hintslight gtk-xft-rgba = rgb #-- gtk --# diff --git a/.irssi/default.theme b/.irssi/default.theme @@ -217,7 +217,7 @@ formats = { daychange = " %w-%c-%C- %K| %nDay changed to %%d %%b %%Y"; your_nick_changed = " %w-%c-%C- %K| %nYou're now known as %W$1"; - pubmsg = "%b<%w$2\00307$[-11]0%b>%K | %n$1"; + pubmsg = "%b<%w$2\00306$[-11]0%b>%K | %n$1"; own_msg_private_query = "%m<%W$[-12]2%m> %K| %n$1"; msg_private_query = "%b<%w$[-12]0%b>%K | %n$2"; own_msg = "%m<%W$2$[-11]0%m>%K | %n$1"; diff --git a/.mplayer/config b/.mplayer/config @@ -1,14 +1,15 @@ # # Author: Xu Xiaodong <[email protected]> -# modified: 2012 May 14 +# modified: 2012 Jun 16 # #-- video --# vo=gl2:yuv=5,x11 +lavdopts=threads=4 vf-pre=pp=ac -vf=screenshot dr=yes +#vf=screenshot #fs=yes #-- audio --# diff --git a/.mutt/muttrc b/.mutt/muttrc @@ -1,6 +1,6 @@ # # author : Xu Xiaodong <[email protected]> -# modified : 2012 Jun 02 +# modified : 2012 Jun 11 # source ~/.gmailrc @@ -38,6 +38,7 @@ unset imap_passive unset move set include +set pager_stop set delete set quit diff --git a/.rtorrent.rc b/.rtorrent.rc @@ -1,6 +1,6 @@ # # author: Xu Xiaodong <[email protected]> -# modified: 2012 May 09 +# modified: 2012 Jun 14 # #-- base --# @@ -10,7 +10,7 @@ max_peers = 100 download_rate = 0 upload_rate = 0 directory = ~/tmp -session = ~/tmp +session = ~/tmp/session #-- schedule --# diff --git a/.themes/BlackWhite/gtk-2.0/gtkrc b/.themes/BlackWhite/gtk-2.0/gtkrc @@ -1,8 +1,8 @@ #BlackWhite By lyrae | thrynk.deviantart.com #include "panel.rc" -#include "menubar.rc" -include "menubar-black.rc" +include "menubar.rc" +#include "menubar-black.rc" gtk-icon-sizes = "panel-menu=14,14:panel=14,14:gtk-button=14,14:gtk-small-toolbar=14,14:gtk-large-toolbar=14,14" @@ -22,9 +22,9 @@ style "default" GtkRange::slider_width = 15 GtkRange::stepper_size = 15 - GtkVScale::slider_length = 11 - GtkVScale::slider_width = 21 - GtkHScale::slider_length = 11 + GtkVScale::slider_length = 11 + GtkVScale::slider_width = 21 + GtkHScale::slider_length = 11 GtkHScale::slider_width = 21 GtkPaned::handle_size = 6 diff --git a/.tmux.conf b/.tmux.conf @@ -1,6 +1,6 @@ # # author : Xu Xiaodong <[email protected]> -# modified : 2012 May 18 +# modified : 2012 Jun 18 # #-- base --# @@ -72,10 +72,10 @@ set -g status-justify centre set -g status-bg colour235 set -g status-fg colour248 set -g status-attr dim -set -g status-left "#[fg=colour187]#S #[default]• #[fg=colour187]w#I.p#P#[default]" +set -g status-left " #[fg=colour187]#S #[default]• #[fg=colour187]w#I.p#P#[default]" set -g status-left-attr bright set -g status-left-length 20 -set -g status-right "#[fg=colour174]#(/home/xiaodong/bin/uptime) #[default]• #[fg=colour174]#(cut -d ' ' -f 1-3 /proc/loadavg)" +set -g status-right "#[fg=colour174]#(/home/xiaodong/bin/uptime) #[default]• #[fg=colour174]#(cut -d ' ' -f 1-3 /proc/loadavg) " set -g status-right-attr bright set -g status-right-length 80 diff --git a/.xinitrc b/.xinitrc @@ -1,7 +1,7 @@ #!/bin/sh # # author : Xu Xiaodong <[email protected]> -# modified : 2012 Jun 03 +# modified : 2012 Jun 10 # #-- powersave --# @@ -15,6 +15,7 @@ fcitx & #-- app --# xmodmap ~/.xmodmaprc & # swap Caps_Lock and Control_L +compton -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 diff --git a/.zathurarc b/.zathurarc @@ -1,12 +1,11 @@ # # author: Xu Xiaodong <[email protected]> -# modified: 2011 Apr 14 +# modified: 2012 Jun 17 # -#-- hide inputbar --# - +# hide *bar set show_inputbar 0 +set show_statusbar 0 -#-- bindkey --# - +# bindkey map q quit