dotfiles

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

commit e12084b3774db9b8ac8b1b44a8cf3e1a80e72c6a
parent d3a2aa8883e06c15b75fe9e18ba6caf79577232e
Author: Xiaodong Xu <xxdlhy@gmail.com>
Date:   Thu May  5 20:20:28 +0000

Update configs

Diffstat:
.Xdefaults.d/fonts/input_droid | 10+++++-----
.gtkrc.mine | 6+++---
.pentadactyl/colors/solarized-dark.penta | 183+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.pentadactyl/colors/solarized-light.penta | 179+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.pentadactylrc | 18++++++------------
.xinitrc | 8++++----
6 files changed, 380 insertions(+), 24 deletions(-)
diff --git a/.Xdefaults.d/fonts/input_droid b/.Xdefaults.d/fonts/input_droid @@ -1,11 +1,11 @@ ! ! author : Xu Xiaodong <xxdlhy@gmail.com> -! modified : 2016 Jan 15 +! modified : 2016 May 05 ! -URxvt.font : xft:input:size=8,xft:wenquanyi micro hei:size=10 -URxvt.boldFont : xft:input:size=8:bold,xft:wenquanyi micro hei:size=10:bold -URxvt.italicFont : xft:input:size=8:italic,xft:wenquanyi micro hei:size=10:italic -URxvt.bolditalicFont : xft:input:size=8:bolditalic,xft:wenquanyi micro hei:size=10:bolditalic +URxvt.font : xft:input:size=14,xft:noto sans cjk sc:size=14 +URxvt.boldFont : xft:input:size=14:bold,xft:noto sans cjk sc:size=14:bold +URxvt.italicFont : xft:input:size=14:italic,xft:noto sans cjk sc:size=14:italic +URxvt.bolditalicFont : xft:input:size=14:bolditalic,xft:noto sans cjk sc:size=14:bolditalic ! vim: ai:et:ts=2:sw=2:tw=78:ft=xdefaults diff --git a/.gtkrc.mine b/.gtkrc.mine @@ -1,6 +1,6 @@ # author: Xu Xiaodong <xxdlhy@gmail.com> -# modified: 2015 May 09 +# modified: 2016 May 05 # #-- xft --# @@ -16,9 +16,9 @@ include "/home/xiaodong/.themes/BlackWhite/gtk-2.0/gtkrc" gtk-icon-theme-name = "gnome-dust" #-- font --# -gtk-font-name = "Aller 8" +gtk-font-name = "Noto Sans 14" style "user-font" { - font_name = "Aller 8" + font_name = "Noto Sans 14" } widget_class "*" style "user-font" diff --git a/.pentadactyl/colors/solarized-dark.penta b/.pentadactyl/colors/solarized-dark.penta @@ -0,0 +1,183 @@ +" Solarized dark color scheme for Pentadactyl {{{1 +" ---------------------------------------------------------------------- +" +" Mantainer: claytron <robots@claytron.com> +" Name: solarized-dark + +" Solarized color mappings {{{1 +" ---------------------------------------------------------------------- +" This allows us to easily map the colors by name + +" Foreground colors {{{2 +" ---------------------------------------------------------------------- +hi s_base03 color: #002b36 !important; +hi s_base02 color: #073642 !important; +hi s_base01 color: #586e75 !important; +hi s_base00 color: #657b83 !important; +hi s_base0 color: #839496 !important; +hi s_base1 color: #93a1a1 !important; +hi s_base2 color: #eee8d5 !important; +hi s_base3 color: #fdf6e3 !important; +hi s_yellow color: #b58900 !important; +hi s_orange color: #cb4b16 !important; +hi s_red color: #dc322f !important; +hi s_magenta color: #d33682 !important; +hi s_violet color: #6c71c4 !important; +hi s_blue color: #268bd2 !important; +hi s_cyan color: #2aa198 !important; +hi s_green color: #859900 !important; + +" Background colors {{{2 +" ---------------------------------------------------------------------- +hi s_base03_back background-color: #002b36 !important; +hi s_base02_back background-color: #073642 !important; +hi s_base01_back background-color: #586e75 !important; +hi s_base00_back background-color: #657b83 !important; +hi s_base0_back background-color: #839496 !important; +hi s_base1_back background-color: #93a1a1 !important; +hi s_base2_back background-color: #eee8d5 !important; +hi s_base3_back background-color: #fdf6e3 !important; +hi s_yellow_back background-color: #b58900 !important; +hi s_orange_back background-color: #cb4b16 !important; +hi s_red_back background-color: #dc322f !important; +hi s_magenta_back background-color: #d33682 !important; +hi s_violet_back background-color: #6c71c4 !important; +hi s_blue_back background-color: #268bd2 !important; +hi s_cyan_back background-color: #2aa198 !important; +hi s_green_back background-color: #859900 !important; + +" Gradient backgrounds {{{2 +" ---------------------------------------------------------------------- +" base0 to base03 +hi s_comp_title background: -moz-linear-gradient(60deg, #839496, #002b36) !important; +" cyan to base03 +hi s_comp_sep background: -moz-linear-gradient(60deg, #2aa198, #002b36) !important; + +" Status Line {{{1 +" ---------------------------------------------------------------------- +hi -l=s_base0,s_base02_back StatusLineNormal +hi -l=s_base03,s_orange_back StatusLineBroken +hi -l=s_base03,s_blue_back StatusLineSecure +hi -l=s_base03,s_violet_back StatusLineExtended +hi -l=s_base03,s_magenta_back StatusWarningMsg +" Make sure the question output looks nice between each status color +hi StatusQuestion -a color: inherit !important; background-color: inherit !important; + +" Command Line {{{1 +" ---------------------------------------------------------------------- +hi -l=s_base0,s_base03_back Normal +hi -l=s_base03,s_magenta_back CompItem[selected] +" background is s_base03 +hi CompItem:nth-child(2n+1) -a background: rgba(0, 43, 54, .04); +hi -l=s_base03,s_comp_title CompTitle +hi -l=s_base1 CompDesc -a +hi -l=s_base1 Preview -a +hi -l=s_comp_sep CompTitleSep height: 2px; +hi -l=s_base0,s_base03_back Message +hi -l=s_base03,s_yellow_back WarningMsg +hi -l=s_base03,s_magenta_back ErrorMsg +hi -l=s_base1 URL +hi -l=s_base1 URLExtra +hi MoreMsg -a color: inherit !important; background-color: inherit !important; +hi -l=s_green Filter -a +hi -l=s_base0 InfoMsg +hi -l=s_base01 ModeMsg +hi -l=s_base00 CmdInput +hi -l=s_base0,s_base03_back CmdCmdLine +hi -l=s_base03,s_magenta_back CmdErrorMsg + +" Hints {{{1 +" ---------------------------------------------------------------------- +" The hint background is s_base3, the outline is s_base03 +hi -l=s_base03 Hint -a outline: 1px solid rgba(0, 43, 54, .5); background: rgba(253, 246, 227, .8); +hi -l=s_base03,s_blue_back HintElem +hi -l=s_base03,s_magenta_back HintActive + +" Other {{{1 +" ---------------------------------------------------------------------- +hi -l=s_red_back Bell +hi -l=s_blue,s_base03_back NonText -a min-height: 16px; padding-left: 2px; +hi -l=s_magenta_back Search -a +hi -l=s_red Title -a +hi -l=s_blue Indicator -a +hi -l=s_cyan Question +hi -l=s_blue Enabled -a +hi -l=s_blue_back FrameIndicator -a +hi -l=s_base0,s_base3_back LinkInfo -a +hi -l=s_base03,s_base2_back LineNr +hi -l=s_blue Tag -a +hi -l=s_base03,s_orange_back EditorBlink1 +hi -l=s_base01 EditorBlink2 +hi -l=s_base2,s_base03_back EditorEditing>* +hi -l=s_base2,s_base03_back EditorEditing +hi -l=s_base03,s_red_back EditorError +hi -l=s_base01 Disabled -a +hi -l=s_base01 Addon:not([active]) -a +" background is s_base03 +hi Addon:nth-child(2n+1) -a background: rgba(0, 43, 54, .04); +" background is s_base03 +hi UsageItem:nth-of-type(2n) -a background: rgba(0, 43, 54, .04); +hi -l=s_base01 Download:not([active]) -a +" background is s_base03 +hi Download:nth-child(2n+1) -a background: rgba(0, 43, 54, .04); +" Text shadow is s_base03 +hi -l=s_base3 TabIconNumber -a text-shadow: #002b36 -1px 0 1px, #002b36 0 1px 1px, #002b36 1px 0 1px, #002b36 0 -1px 1px; +" buttons +hi -l=s_blue Button -a +hi -l=s_blue Button::after -a +hi -l=s_blue Button::before -a + + +" Help {{{1 +" ---------------------------------------------------------------------- +hi -l=s_base0,s_base03_back HelpBody -a +" Border is s_base3, and there to fake padding on the background image, +" since the logo is black and I'm putting it on a white bg +hi -l=s_base3_back Logo -a border: 5px solid #fdf6e3 !important; +" This can't be !important, or else it overrides all links (e.g. ex, +" key, opt). The color used here is s_blue +hi HelpLink[href] -a color: #268bd2; +hi -l=s_blue HelpTopic -a +hi -l=s_blue HelpType margin-right: 2ex; +hi -l=s_magenta HelpInfoLabel -a +hi -l=s_magenta HelpWarning -a +hi -l=s_magenta HelpNote -a +hi -l=s_orange HelpEx -a +hi -l=s_green HelpKey -a +hi -l=s_red HelpKeyword -a +hi -l=s_red HelpTag -a +hi -l=s_green HelpNewsTag -a +hi -l=s_yellow HelpHead -a +" Using s_base1 here for the border +hi HelpBorder -a border-color: #93a1a1 !important; +hi -l=s_cyan HelpSpec -a +hi -l=s_cyan HelpArg -a +hi -l=s_cyan HelpOptionalArg -a +hi -l=s_violet HelpString -a +hi -l=s_cyan HelpOpt -a +" Help code blocks +hi -l=s_base0 HelpXMLText -a +hi -l=s_base00,s_base3_back HelpXMLBase -a padding: 7px; +hi -l=s_blue HelpXMLTagStart -a +hi -l=s_blue HelpXMLTagEnd -a +hi -l=s_orange HelpXMLAttribute -a +hi -l=s_cyan HelpXMLString -a +hi -l=s_base01 HelpXMLComment -a +hi -l=s_base00 HelpXMLAttribute::after -a +hi -l=s_orange HelpXMLNamespace -a +hi -l=s_cyan HelpXMLNamespace::after -a +hi -l=s_cyan HelpXMLProcessing -a +hi -l=s_base00 HelpXMLProcessing::before -a +hi -l=s_base00 HelpXMLProcessing::after -a +hi HelpXML -a border: none; +hi HelpXMLBlock -a border: none; +hi -l=s_cyan Boolean -a +hi -l=s_yellow Keyword -a +hi -l=s_blue Function -a +hi -l=s_blue Null -a +hi -l=s_blue Number -a +hi -l=s_green Object -a +hi -l=s_base1 Comment -a +hi -l=s_base0 Comment -a + +" vim: fdm=marker diff --git a/.pentadactyl/colors/solarized-light.penta b/.pentadactyl/colors/solarized-light.penta @@ -0,0 +1,179 @@ +" Solarized light color scheme for Pentadactyl {{{1 +" ---------------------------------------------------------------------- +" +" Mantainer: claytron <robots@claytron.com> +" Name: solarized-light + +" Solarized color mappings {{{1 +" ---------------------------------------------------------------------- +" This allows us to easily map the colors by name + +" Foreground colors {{{2 +" ---------------------------------------------------------------------- +hi s_base03 color: #002b36 !important; +hi s_base02 color: #073642 !important; +hi s_base01 color: #586e75 !important; +hi s_base00 color: #657b83 !important; +hi s_base0 color: #839496 !important; +hi s_base1 color: #93a1a1 !important; +hi s_base2 color: #eee8d5 !important; +hi s_base3 color: #fdf6e3 !important; +hi s_yellow color: #b58900 !important; +hi s_orange color: #cb4b16 !important; +hi s_red color: #dc322f !important; +hi s_magenta color: #d33682 !important; +hi s_violet color: #6c71c4 !important; +hi s_blue color: #268bd2 !important; +hi s_cyan color: #2aa198 !important; +hi s_green color: #859900 !important; + +" Background colors {{{2 +" ---------------------------------------------------------------------- +hi s_base03_back background-color: #002b36 !important; +hi s_base02_back background-color: #073642 !important; +hi s_base01_back background-color: #586e75 !important; +hi s_base00_back background-color: #657b83 !important; +hi s_base0_back background-color: #839496 !important; +hi s_base1_back background-color: #93a1a1 !important; +hi s_base2_back background-color: #eee8d5 !important; +hi s_base3_back background-color: #fdf6e3 !important; +hi s_yellow_back background-color: #b58900 !important; +hi s_orange_back background-color: #cb4b16 !important; +hi s_red_back background-color: #dc322f !important; +hi s_magenta_back background-color: #d33682 !important; +hi s_violet_back background-color: #6c71c4 !important; +hi s_blue_back background-color: #268bd2 !important; +hi s_cyan_back background-color: #2aa198 !important; +hi s_green_back background-color: #859900 !important; + +" Gradient backgrounds {{{2 +" ---------------------------------------------------------------------- +" base0 to base3 +hi s_comp_title background: -moz-linear-gradient(60deg, #839496, #fdf6e3) !important; +" cyan to base3 +hi s_comp_sep background: -moz-linear-gradient(60deg, #2aa198, #fdf6e3) !important; + +" Status Line {{{1 +" ---------------------------------------------------------------------- +hi -l=s_base00,s_base2_back StatusLineNormal +hi -l=s_base3,s_orange_back StatusLineBroken +hi -l=s_base3,s_blue_back StatusLineSecure +hi -l=s_base3,s_violet_back StatusLineExtended +hi -l=s_base3,s_magenta_back StatusWarningMsg +" Make sure the question output looks nice between each status color +hi StatusQuestion -a color: inherit !important; background-color: inherit !important; + +" Command Line {{{1 +" ---------------------------------------------------------------------- +hi -l=s_base00,s_base3_back Normal +hi -l=s_base3,s_magenta_back CompItem[selected] +" background is s_base03 +hi CompItem:nth-child(2n+1) -a background: rgba(0, 43, 54, .04); +hi -l=s_base3,s_comp_title CompTitle +hi -l=s_base1 CompDesc -a +hi -l=s_base1 Preview -a +hi -l=s_comp_sep CompTitleSep height: 2px; +hi -l=s_base00,s_base3_back Message +hi -l=s_base3,s_yellow_back WarningMsg +hi -l=s_base3,s_magenta_back ErrorMsg +hi -l=s_base1 URL +hi -l=s_base1 URLExtra +hi MoreMsg -a color: inherit !important; background-color: inherit !important; +hi -l=s_green Filter -a +hi -l=s_base00 InfoMsg +hi -l=s_base01 ModeMsg +hi -l=s_base00,s_base3_back CmdCmdLine +hi -l=s_base3,s_magenta_back CmdErrorMsg + +" Hints {{{1 +" ---------------------------------------------------------------------- +" The hint background is s_base3, the outline is s_base03 +hi -l=s_base03 Hint -a outline: 1px solid rgba(0, 43, 54, .5); background: rgba(253, 246, 227, .8); +hi -l=s_base3,s_blue_back HintElem +hi -l=s_base3,s_magenta_back HintActive + +" Other {{{1 +" ---------------------------------------------------------------------- +hi -l=s_red_back Bell +hi -l=s_blue,s_base3_back NonText -a min-height: 16px; padding-left: 2px; +hi -l=s_magenta_back Search -a +hi -l=s_red Title -a +hi -l=s_blue Indicator -a +hi -l=s_cyan Question +hi -l=s_blue Enabled -a +hi -l=s_blue_back FrameIndicator -a +hi -l=s_base0,s_base03_back LinkInfo -a +hi -l=s_base3,s_base2_back LineNr +hi -l=s_blue Tag -a +hi -l=s_base3,s_orange_back EditorBlink1 +hi -l=s_base01 EditorBlink2 +hi -l=s_base2,s_base3_back EditorEditing>* +hi -l=s_base2,s_base3_back EditorEditing +hi -l=s_base3,s_red_back EditorError +hi -l=s_base01 Disabled -a +hi -l=s_base01 Addon:not([active]) -a +" background is s_base03 +hi Addon:nth-child(2n+1) -a background: rgba(0, 43, 54, .04); +" background is s_base03 +hi UsageItem:nth-of-type(2n) -a background: rgba(0, 43, 54, .04); +hi -l=s_base01 Download:not([active]) -a +" background is s_base03 +hi Download:nth-child(2n+1) -a background: rgba(0, 43, 54, .04); +" Text shadow is s_base03 +hi -l=s_base3 TabIconNumber -a text-shadow: #002b36 -1px 0 1px, #002b36 0 1px 1px, #002b36 1px 0 1px, #002b36 0 -1px 1px; +" buttons +hi -l=s_blue Button -a +hi -l=s_blue Button::after -a +hi -l=s_blue Button::before -a + + +" Help {{{1 +" ---------------------------------------------------------------------- +hi -l=s_base00,s_base3_back HelpBody -a +" This can't be !important, or else it overrides all links (e.g. ex, +" key, opt). The color used here is s_blue +hi HelpLink[href] -a color: #268bd2; +hi -l=s_blue HelpTopic -a +hi -l=s_blue HelpType margin-right: 2ex; +hi -l=s_magenta HelpInfoLabel -a +hi -l=s_magenta HelpWarning -a +hi -l=s_magenta HelpNote -a +hi -l=s_orange HelpEx -a +hi -l=s_green HelpKey -a +hi -l=s_red HelpKeyword -a +hi -l=s_red HelpTag -a +hi -l=s_green HelpNewsTag -a +hi -l=s_yellow HelpHead -a +" Using s_base1 here for the border +hi HelpBorder -a border-color: #93a1a1 !important; +hi -l=s_cyan HelpSpec -a +hi -l=s_cyan HelpArg -a +hi -l=s_cyan HelpOptionalArg -a +hi -l=s_violet HelpString -a +hi -l=s_cyan HelpOpt -a +" Help code blocks +hi -l=s_base0 HelpXMLText -a +hi -l=s_base0,s_base03_back HelpXMLBase -a padding: 7px; +hi -l=s_blue HelpXMLTagStart -a +hi -l=s_blue HelpXMLTagEnd -a +hi -l=s_orange HelpXMLAttribute -a +hi -l=s_cyan HelpXMLString -a +hi -l=s_base01 HelpXMLComment -a +hi -l=s_base0 HelpXMLAttribute::after -a +hi -l=s_orange HelpXMLNamespace -a +hi -l=s_cyan HelpXMLNamespace::after -a +hi -l=s_cyan HelpXMLProcessing -a +hi -l=s_base0 HelpXMLProcessing::before -a +hi -l=s_base0 HelpXMLProcessing::after -a +hi HelpXML -a border: none; +hi HelpXMLBlock -a border: none; +hi -l=s_cyan Boolean -a +hi -l=s_yellow Keyword -a +hi -l=s_blue Function -a +hi -l=s_blue Null -a +hi -l=s_blue Number -a +hi -l=s_green Object -a +hi -l=s_base1 Comment -a +hi -l=s_base00 Comment -a + +" vim: fdm=marker diff --git a/.pentadactylrc b/.pentadactylrc @@ -1,16 +1,17 @@ " " author: Xu Xiaodong <xxdlhy@gmail.com> -" modified: 2013 Nov 30 +" modified: 2016 May 05 " "-- look --" -set guioptions=Csr -set showtabline=never +set guioptions=Cns +"set showtabline=never set showstatuslinks=command set hintkeys=asdfg;lkjh -colorscheme zenburn +colorscheme solarized-dark +highlight Hint font-family: input; font-size: 16px; background-color: white; padding: 2px; "-- search --" @@ -22,11 +23,4 @@ set editor='urxvtc -e vim' "-- passthrough --" -autocmd LocationChange www.google.com/reader/,mail.google.com :normal! <C-z> - -"-- style --" -style -name custom https://linuxtoy.org/* <<EOM -body { - background: #ffffff !important; -} -EOM +autocmd LocationChange mail.google.com :normal! <C-z> diff --git a/.xinitrc b/.xinitrc @@ -1,12 +1,12 @@ #!/bin/sh # # author : Xu Xiaodong <xxdlhy@gmail.com> -# modified : 2016 Feb 28 +# modified : 2016 May 05 # #-- font --# -xset +fp /usr/share/fonts/ohsnap -xset fp rehash +#xset +fp /usr/share/fonts/ohsnap +#xset fp rehash #-- powersave --# xset +dpms @@ -25,7 +25,7 @@ unclutter -idle 5 & # hide mouse cursor syndaemon -t -k -i 2 -d & # disable trackpad while typing urxvtd -q -f -o # urxvt daemon hsetroot -fill ~/picture/black.jpg & # set wallpaper -btsync --config ~/.btsyncrc # start btsync +#btsync --config ~/.btsyncrc # start btsync urxvtc -e sh -c "tmuxen" & # start tmux #-- wm --#