dotfiles

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

commit afaba0217603d11dfc3f7453e9832be7387bcbca
parent f1482216974e130dde75538c98e6e9816f144b54
Author: Xiaodong Xu <xxdlhy@gmail.com>
Date:   Sun Jun  3 16:47:21 +0800

Swap caps_lock and ctrl_l

Diffstat:
.Xdefaults | 6+++---
.conkyrc | 3++-
.fonts.conf | 4++--
.gtkrc.mine | 4++--
.mutt/muttrc | 19+++++++++++--------
.xinitrc | 4+++-
.xmodmaprc | 8++++----
7 files changed, 27 insertions(+), 21 deletions(-)
diff --git a/.Xdefaults b/.Xdefaults @@ -1,6 +1,6 @@ ! ! author : Xu Xiaodong <xxdlhy@gmail.com> -! modified : 2012 Jun 01 +! modified : 2012 Jun 03 ! !-- colorscheme & font --! @@ -14,7 +14,7 @@ Xft.dpi : 96 Xft.antialias : true Xft.autohint : false Xft.hinting : true -Xft.hintstyle : hintslight +Xft.hintstyle : hintfull Xft.rgba : rgb Xft.lcdfilter : lcdlight @@ -42,4 +42,4 @@ URxvt.perl-lib : /usr/lib/urxvt/perl/ URxvt.perl-ext-common : default,matcher URxvt.matcher.button : 1 URxvt.matcher.pattern.1 : \\bwww\\.[\\w-]+\\.[\\w./?&@#-]*[\\w/-] -URxvt.urlLauncher : firefox +URxvt.urlLauncher : dwb diff --git a/.conkyrc b/.conkyrc @@ -1,6 +1,6 @@ # # author : Xu Xiaodong <xxdlhy@gmail.com> -# modified : 2012 May 27 +# modified : 2012 Jun 03 # #-- settings --# @@ -20,4 +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/time.xpm) ^fg(\#f0dfaf)${time %a, %b %d / %T} diff --git a/.fonts.conf b/.fonts.conf @@ -5,7 +5,7 @@ <!-- author : Xu Xiaodong <xxdlhy@gmail.com> -modified : 2012 May 10 +modified : 2012 Jun 03 --> @@ -46,7 +46,7 @@ modified : 2012 May 10 <!-- hinting style (hintnone, hintslight, hintmedium, hintfull) --> <edit mode="assign" name="hintstyle"> - <const>hintslight</const> + <const>hintfull</const> </edit> <!-- lcd filtering (lcdnone, lcddefault, lcdlight, lcdlegacy) --> diff --git a/.gtkrc.mine b/.gtkrc.mine @@ -1,12 +1,12 @@ # # author: Xu Xiaodong <xxdlhy@gmail.com> -# modified: 2012 Jun 01 +# modified: 2012 Jun 03 # #-- xft --# gtk-xft-antialias = 1 gtk-xft-hinting = 1 -gtk-xft-hintstyle = hintslight +gtk-xft-hintstyle = hintfull gtk-xft-rgba = rgb #-- gtk --# diff --git a/.mutt/muttrc b/.mutt/muttrc @@ -5,10 +5,13 @@ source ~/.gmailrc source ~/.mutt/colors/darkcourses +source ~/.mutt/alias set header_cache = ~/.mutt/cache/headers set message_cachedir = ~/.mutt/cache/bodies set certificate_file = ~/.mutt/certificates +set alias_file = ~/.mutt/alias +set history_file = ~/.mutt/history set signature = ~/.mutt/signature set editor = "vim" @@ -24,17 +27,16 @@ set postponed = "+[Gmail]/Drafts" set ssl_starttls = yes set ssl_force_tls = yes -unset imap_passive -unset move - -set imap_check_subscribed - set hostname = "gmail.com" set mail_check = 120 set timeout = 300 set imap_keepalive = 300 +set imap_idle = yes set net_inc = 5 +unset imap_passive +unset move + set include set delete set quit @@ -43,9 +45,7 @@ set sort = "threads" set sort_aux = "reverse-last-date-received" set auto_tag = yes -ignore "Authentication-Results:" -ignore "DomainKey-Signature:" -ignore "DKIM-Signature:" +set index_format = "%4C %Z %{%b %d} %-20.20L (%4c) %s" ignore * unignore Date From To Cc Subject User-Agent Message-ID @@ -54,6 +54,9 @@ hdr_order Date From To Cc Subject User-Agent Message-ID alternative_order text/plain text/html * auto_view text/html +bind index gg first-entry +bind index G last-entry + bind editor <Tab> complete-query bind editor ^T complete bind editor <space> noop diff --git a/.xinitrc b/.xinitrc @@ -1,7 +1,7 @@ #!/bin/sh # # author : Xu Xiaodong <xxdlhy@gmail.com> -# modified : 2012 May 18 +# modified : 2012 Jun 03 # #-- powersave --# @@ -14,6 +14,8 @@ export GTK_IM_MODULE=xim fcitx & #-- app --# +xmodmap ~/.xmodmaprc & # swap Caps_Lock and Control_L +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 diff --git a/.xmodmaprc b/.xmodmaprc @@ -1,13 +1,13 @@ ! ! author: Xu Xiaodong <xxdlhy@gmail.com> -! modified: 2012 May 13 +! modified: 2012 Jun 03 ! -!-- swap Caps_Lock and Control_L¬--! +!-- swap Caps_Lock and Control_L --! clear Lock remove Control = Control_L -keycode 0x37 = Caps_Lock -keycode 0x66 = Control_L +keycode 37 = Caps_Lock +keycode 66 = Control_L add Lock = Caps_Lock add Control = Control_L