Xu Xiaodong avatar Xu Xiaodong committed 4ea67d9

add font configuration

Comments (0)

Files changed (22)

 !
 ! author:    Xu Xiaodong <xxdlhy@gmail.com>
-! modified:  2011 Oct 24
+! modified:  2012 Apr 23
 !
 
 !-- colorscheme --!
 
-# include ".Xdefaults.d/solarized"
+# include ".Xdefaults.d/colors/solarized"
 
 !-- xft --!
 ! hintstyle: hintnone | hintslight | hintmedium | hintfull
 
 !-- urxvt font --!
 
-URxvt.font:         xft:dina:size=9,xft:wenquanyi bitmap song:size=9
-URxvt.boldFont:     xft:dina:size=9:bold,xft:wenquanyi bitmap song:size=9:bold
+# include ".Xdefaults.d/fonts/envycoder_droid"
 
 !-- urxvt color --!
 

.Xdefaults.d/colors/crshd

+!
+! crshd
+! see also: https://github.com/crshd/dots/blob/master/xdefaults/colors
+!
+
+*foreground:  #808080
+*background:  #151515
+
+!black
+*color0:      #353535
+*color8:      #353535
+
+!red
+*color1:      #c14c2e
+*color9:      #d92918
+
+!green
+*color2:      #bdf271
+*color10:     #ffffa6
+
+!yellow
+*color3:      #ff8939
+*color11:     #ffc051
+
+!blue
+*color4:      #2554a4
+*color12:     #447f6e
+
+!magenta
+*color5:      #b52841
+*color13:     #d9042b
+
+!cyan
+*color6:      #435d65
+*color14:     #6e98a4
+
+!white
+*color7:      #666666
+*color15:     #cccccc

.Xdefaults.d/colors/lich

+!
+! lich
+!
+
+*.background : #222222
+*.foreground : #eeeeee
+*color0      : #222222
+*color1      : #8E5C4E
+*color2      : #6C7E55
+*color3      : #B89F63
+*color4      : #7FB8D8
+*color5      : #956D9D
+*color6      : #4c8ea1
+*color7      : #808080
+*color8      : #454545
+*color9      : #CC896D
+*color10     : #C4DF90
+*color11     : #FFE080
+*color12     : #B8DDEA
+*color13     : #C18FCB
+*color14     : #6bc1d0
+*color15     : #eeeeee

.Xdefaults.d/colors/molokai

+!
+! molokai
+!
+
+*background:   #101010
+*foreground:   #d0d0d0
+*cursorColor:  #d0d0d0
+*color0:       #101010
+*color1:       #960050
+*color2:       #66aa11
+*color3:       #c47f2c
+*color4:       #30309b
+*color5:       #7e40a5
+*color6:       #89b6e2
+*color7:       #9999aa
+*color8:       #303030
+*color9:       #ff0090
+*color10:      #80ff00
+*color11:      #ffba68
+*color12:      #5f5fee
+*color13:      #bb88dd
+*color14:      #4eb4fa
+*color15:      #d0d0d0

.Xdefaults.d/colors/nu

+!
+! nu
+!
+
+*background:                                #0c0c0c
+*foreground:                                #ffffff
+
+! Black ------------------------------------------- !
+*color0:                            #404040
+*color8:                            #505050
+! Red --------------------------------------------- !
+*color1:                            #f03669
+*color9:                            #c75b79
+! Green ------------------------------------------- !
+*color2:                            #b8e346
+*color10:                           #c8e37e
+! Yellow ------------------------------------------ !
+*color3:                            #ffa402
+*color11:                           #ffbe4a
+! Blue -------------------------------------------- !
+*color4:                            #02a2ff
+*color12:                           #71cbff
+! Magenta ----------------------------------------- !
+*color5:                            #875c8d
+*color13:                           #e41f66
+! Cyan -------------------------------------------- !
+*color6:                            #6fa9d3
+*color14:                           #0078CE
+! White ------------------------------------------- !
+*color7:                            #d2d2d2
+*color15:                           #ffffff

.Xdefaults.d/colors/solarized

+!
+! author:    Xu Xiaodong <xxdlhy@gmail.com>
+! modified:  2011 Apr 15 
+!
+
+*background:  #1c1c1c
+*foreground:  #808080
+
+!-- black --!
+
+*color0:      #1c1c1c
+*color8:      #262626
+
+!-- red --!
+
+*color1:      #d75f00
+*color9:      #af0000
+
+!-- green --!
+
+*color2:      #585858
+*color10:     #5f8700
+
+!-- yellow --!
+
+*color3:      #626262
+*color11:     #af8700
+
+!-- blue --!
+
+*color4:      #808080
+*color12:     #0087ff
+
+!-- mangenta --!
+
+*color5:      #5f5faf
+*color13:     #af005f
+
+!-- cyan --!
+
+*color6:      #8a8a8a
+*color14:     #00afaf
+
+!-- white --!
+
+*color7:      #ffffd7
+*color15:     #e4e4e4

.Xdefaults.d/colors/tango

+!
+! tangoesque
+!
+
+*background:  #111111
+*foreground:  #babdb6
+
+! Black
+*color0:      #000000
+*color8:      #555753
+
+! Red
+*color1:      #ff6565
+*color9:      #ff8d8d
+
+! Green
+*color2:      #93d44f
+*color10:     #c8e7a8
+
+! Yellow
+*color3:      #eab93d
+*color11:     #ffc123
+
+! Blue
+*color4:      #204a87
+*color12:     #3465a4
+
+! Mangenta
+*color5:      #ce5c00
+*color13:     #f57900
+
+! Cyan
+*color6:      #89b6e2
+*color14:     #46a4ff
+
+! White
+*color7:      #cccccc
+*color15:     #ffffff

.Xdefaults.d/colors/zenburn

+!
+! zenburn
+!
+
+*background:  #3f3f3f
+*foreground:  #dcdccc
+
+! black + red
+!*color0:     #3f3f3f
+*color0:      #1E2320
+*color1:      #705050
+
+! green + yellow
+*color2:      #60b48a
+*color3:      #dfaf8f
+
+! blue + purple
+*color4:      #506070
+*color5:      #dc8cc3
+
+! cyan + white
+*color6:      #8cd0d3
+*color7:      #dcdccc
+
+! bright-black + bright-red
+*color8:      #709080
+*color9:      #dca3a3
+
+! bright-green + bright-yellow
+*color10:     #c3bf9f
+*color11:     #f0dfaf
+
+! bright-blue + bright-purple
+*color12:     #94bff3
+*color13:     #ec93d3
+
+! bright-cyan + bright-white
+*color14:     #93e0e3
+*color15:     #ffffff

.Xdefaults.d/crshd

-!
-! crshd
-! see also: https://github.com/crshd/dots/blob/master/xdefaults/colors
-!
-
-*foreground:  #808080
-*background:  #151515
-
-!black
-*color0:      #353535
-*color8:      #353535
-
-!red
-*color1:      #c14c2e
-*color9:      #d92918
-
-!green
-*color2:      #bdf271
-*color10:     #ffffa6
-
-!yellow
-*color3:      #ff8939
-*color11:     #ffc051
-
-!blue
-*color4:      #2554a4
-*color12:     #447f6e
-
-!magenta
-*color5:      #b52841
-*color13:     #d9042b
-
-!cyan
-*color6:      #435d65
-*color14:     #6e98a4
-
-!white
-*color7:      #666666
-*color15:     #cccccc

.Xdefaults.d/fonts/dejavu_droid

+!
+! author:    Xu Xiaodong <xxdlhy@gmail.com>
+! modified:  2012 Mar 25
+!
+
+URxvt.font:         xft:dejavu sans mono:size=10,xft:droid sans fallback:size=10
+URxvt.boldFont:     xft:dejavu sans mono:size=10:bold,xft:droid sans fallback:size=10:bold
+
+! vim: ai:et:ts=2:sw=2:tw=78:ft=xdefaults

.Xdefaults.d/fonts/dina_wqy

+!
+! author:    Xu Xiaodong <xxdlhy@gmail.com>
+! modified:  2012 Mar 25
+!
+
+URxvt.font:         xft:dina:size=9,xft:wenquanyi bitmap song:size=9
+URxvt.boldFont:     xft:dina:size=9:bold,xft:wenquanyi bitmap song:size=9:bold
+
+! vim: ai:et:ts=2:sw=2:tw=78:ft=xdefaults

.Xdefaults.d/fonts/envycoder_droid

+!
+! author:    Xu Xiaodong <xxdlhy@gmail.com>
+! modified:  2012 Apr 23
+!
+
+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
+
+! vim: ai:et:ts=2:sw=2:tw=78:ft=xdefaults

.Xdefaults.d/fonts/inconsolata_droid

+!
+! author:    Xu Xiaodong <xxdlhy@gmail.com>
+! modified:  2012 Mar 25
+!
+
+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

.Xdefaults.d/lich

-!
-! lich
-!
-
-*.background : #222222
-*.foreground : #eeeeee
-*color0      : #222222
-*color1      : #8E5C4E
-*color2      : #6C7E55
-*color3      : #B89F63
-*color4      : #7FB8D8
-*color5      : #956D9D
-*color6      : #4c8ea1
-*color7      : #808080
-*color8      : #454545
-*color9      : #CC896D
-*color10     : #C4DF90
-*color11     : #FFE080
-*color12     : #B8DDEA
-*color13     : #C18FCB
-*color14     : #6bc1d0
-*color15     : #eeeeee

.Xdefaults.d/molokai

-!
-! molokai
-!
-
-*background:   #101010
-*foreground:   #d0d0d0
-*cursorColor:  #d0d0d0
-*color0:       #101010
-*color1:       #960050
-*color2:       #66aa11
-*color3:       #c47f2c
-*color4:       #30309b
-*color5:       #7e40a5
-*color6:       #89b6e2
-*color7:       #9999aa
-*color8:       #303030
-*color9:       #ff0090
-*color10:      #80ff00
-*color11:      #ffba68
-*color12:      #5f5fee
-*color13:      #bb88dd
-*color14:      #4eb4fa
-*color15:      #d0d0d0

.Xdefaults.d/nu

-!
-! nu
-!
-
-*background:                                #0c0c0c
-*foreground:                                #ffffff
-
-! Black ------------------------------------------- !
-*color0:                            #404040
-*color8:                            #505050
-! Red --------------------------------------------- !
-*color1:                            #f03669
-*color9:                            #c75b79
-! Green ------------------------------------------- !
-*color2:                            #b8e346
-*color10:                           #c8e37e
-! Yellow ------------------------------------------ !
-*color3:                            #ffa402
-*color11:                           #ffbe4a
-! Blue -------------------------------------------- !
-*color4:                            #02a2ff
-*color12:                           #71cbff
-! Magenta ----------------------------------------- !
-*color5:                            #875c8d
-*color13:                           #e41f66
-! Cyan -------------------------------------------- !
-*color6:                            #6fa9d3
-*color14:                           #0078CE
-! White ------------------------------------------- !
-*color7:                            #d2d2d2
-*color15:                           #ffffff

.Xdefaults.d/solarized

-!
-! author:    Xu Xiaodong <xxdlhy@gmail.com>
-! modified:  2011 Apr 15 
-!
-
-*background:  #1c1c1c
-*foreground:  #808080
-
-!-- black --!
-
-*color0:      #1c1c1c
-*color8:      #262626
-
-!-- red --!
-
-*color1:      #d75f00
-*color9:      #af0000
-
-!-- green --!
-
-*color2:      #585858
-*color10:     #5f8700
-
-!-- yellow --!
-
-*color3:      #626262
-*color11:     #af8700
-
-!-- blue --!
-
-*color4:      #808080
-*color12:     #0087ff
-
-!-- mangenta --!
-
-*color5:      #5f5faf
-*color13:     #af005f
-
-!-- cyan --!
-
-*color6:      #8a8a8a
-*color14:     #00afaf
-
-!-- white --!
-
-*color7:      #ffffd7
-*color15:     #e4e4e4

.Xdefaults.d/tango

-!
-! tangoesque
-!
-
-*background:  #111111
-*foreground:  #babdb6
-
-! Black
-*color0:      #000000
-*color8:      #555753
-
-! Red
-*color1:      #ff6565
-*color9:      #ff8d8d
-
-! Green
-*color2:      #93d44f
-*color10:     #c8e7a8
-
-! Yellow
-*color3:      #eab93d
-*color11:     #ffc123
-
-! Blue
-*color4:      #204a87
-*color12:     #3465a4
-
-! Mangenta
-*color5:      #ce5c00
-*color13:     #f57900
-
-! Cyan
-*color6:      #89b6e2
-*color14:     #46a4ff
-
-! White
-*color7:      #cccccc
-*color15:     #ffffff

.Xdefaults.d/zenburn

-!
-! zenburn
-!
-
-*background:  #3f3f3f
-*foreground:  #dcdccc
-
-! black + red
-!*color0:     #3f3f3f
-*color0:      #1E2320
-*color1:      #705050
-
-! green + yellow
-*color2:      #60b48a
-*color3:      #dfaf8f
-
-! blue + purple
-*color4:      #506070
-*color5:      #dc8cc3
-
-! cyan + white
-*color6:      #8cd0d3
-*color7:      #dcdccc
-
-! bright-black + bright-red
-*color8:      #709080
-*color9:      #dca3a3
-
-! bright-green + bright-yellow
-*color10:     #c3bf9f
-*color11:     #f0dfaf
-
-! bright-blue + bright-purple
-*color12:     #94bff3
-*color13:     #ec93d3
-
-! bright-cyan + bright-white
-*color14:     #93e0e3
-*color15:     #ffffff
 #
 # author:   Xu Xiaodong <xxdlhy@gmail.com>
-# modified:  2011 Oct 23
+# modified:  2012 Apr 15
 #
 
 #-- gtk --#
 #-- font --#
 
 style "user-font" {
-    font_name = "Roboto 8"
+    font_name = "Roboto 10"
 }
 widget_class "*" style "user-font"
 
-gtk-font-name = "Roboto 8"
+gtk-font-name = "Roboto 10"
 
 #-- toolbar --#
 # GTK_TOOLBAR_ICONS      | Only icons
 #
 # author:    Xu Xiaodong <xxdlhy@gmail.com>
-# modified:  2012 Mar 24
+# modified:  2012 Apr 16
 #
 
 #-- base --#
 
 bind '~' splitw htop
 bind ! splitw ncmpcpp
-bind m command-prompt "splitw 'exec man %%'"
+bind m command-prompt "splitw -h 'exec man %%'"
 bind @ command-prompt "splitw 'exec perldoc -t -f %%'"
 bind * command-prompt "splitw 'exec perldoc -t -v %%'"
 bind % command-prompt "splitw 'exec perldoc -t %%'"
 
 set -g status-justify centre
 
-set -g status-left "#[fg=green]#S:#I.#P#[default]"
+set -g status-left "#[fg=green]#S:w#I.p#P#[default]"
 set -g status-left-attr bright
 set -g status-left-length 20
 
 set -g status-right "#[fg=green]#(/home/xiaodong/bin/uptime)#[default] • #[fg=green]#(cut -d ' ' -f 1-3 /proc/loadavg)#[default]"
 set -g status-right-attr bright
 
-#set -g status-bg black
-#set -g status-fg yellow
-
-#setw -g window-status-current-attr bright
-#setw -g window-status-current-bg red
-#setw -g window-status-current-fg white
-
 set -g status-utf8 on
 set -g status-interval 1
 
 set -g status-keys vi
 setw -g mode-keys vi
 
+#set -g status-bg black
+#set -g status-fg yellow
+
+#setw -g window-status-current-attr bright
+#setw -g window-status-current-bg red
+#setw -g window-status-current-fg white
+
 #-- colorscheme --#
 #-- see also: https://github.com/seebi/tmux-colors-solarized --#
 
 "
 " author:    Xu Xiaodong <xxdlhy@gmail.com>
-" modified:  2012 Mar 24
+" modified:  2012 Apr 07
 "
 
 "-- base --"
 set matchpairs+=<:>
 set whichwrap+=<,>,h,l
 
-set list
+"set list
 set listchars=tab:›\ ,eol:¬
 
 set formatprg=par-format\ -w78
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.