Skip to content

Commit

Permalink
Add.
Browse files Browse the repository at this point in the history
  • Loading branch information
kuroclef committed May 9, 2015
1 parent 2ebe093 commit c320739
Show file tree
Hide file tree
Showing 26 changed files with 1,036 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
@@ -0,0 +1,3 @@
vim/pack
config/mpd/*
!config/mpd/mpd.conf
35 changes: 35 additions & 0 deletions config/X11/Xresources
@@ -0,0 +1,35 @@
Xft.hintstyle : hintslight

URxvt.boldFont : xft:monospace
URxvt.font : xft:monospace:size=10.5
URxvt.intensityStyles : false
URxvt.internalBorder : 16
URxvt.lineSpace : 1
URxvt.perl-ext :
URxvt.perl-ext-common :
URxvt.scrollBar : false
URxvt.skipBuiltinGlyphs : true
URxvt.transparent : true

*.background : #002b36
*.cursorColor : #93a1a1
*.fadeColor : #002b36
*.fading : 40
*.foreground : #839496

*.color0 : #073642
*.color1 : #dc322f
*.color2 : #859900
*.color3 : #b58900
*.color4 : #268bd2
*.color5 : #d33682
*.color6 : #2aa198
*.color7 : #eee8d5
*.color8 : #002b36
*.color9 : #cb4b16
*.color10 : #586e75
*.color11 : #657b83
*.color12 : #839496
*.color13 : #6c71c4
*.color14 : #93a1a1
*.color15 : #fdf6e3
18 changes: 18 additions & 0 deletions config/X11/xinitrc
@@ -0,0 +1,18 @@
#!/bin/sh

redshift -O 4000 >/dev/null
setxkbmap -layout jp
xrdb ~/.config/X11/Xresources
xset -b

export GTK_IM_MODULE=fcitx
fcitx >&/dev/null

#xrandr --newmode "1366x768" 85.25 1366 1440 1576 1784 768 771 781 798 -hsync +vsync
#xrandr --addmode DVI-I-2 1366x768
#xrandr --output DVI-I-2 --mode 1366x768
width="$(xwininfo -root | grep Width | cut -d\ -f4)"
conky -qc ~/.config/conky/"$width".conf
feh --bg-fill --no-fehbg ~/.config/wallpaper
urxvt &
exec openbox --config-file ~/.config/openbox/"$width".xml >&/dev/null
17 changes: 17 additions & 0 deletions config/conky/1280.conf
@@ -0,0 +1,17 @@
conky.config = {
alignment = "top_left",
background = true,
default_color = "#839496",
double_buffer = true,
draw_shades = false,
gap_x = 1034,
gap_y = 10,
use_xft = true
}

conky.text = [[
${font Koruri Regular:size=18}${alignc}${time %F %a}
${font Koruri Light:size=54}${voffset -20}${alignc}${time %R}
]]

-- vim:ft=lua
17 changes: 17 additions & 0 deletions config/conky/1366.conf
@@ -0,0 +1,17 @@
conky.config = {
alignment = "top_left",
background = true,
default_color = "#839496",
double_buffer = true,
draw_shades = false,
gap_x = 1034,
gap_y = 10,
use_xft = true
}

conky.text = [[
${font Koruri Regular:size=18}${alignc}${time %F %a}
${font Koruri Light:size=54}${voffset -20}${alignc}${time %R}
]]

-- vim:ft=lua
38 changes: 38 additions & 0 deletions config/fontconfig/fonts.conf
@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<edit name="lcdfilter">
<const>lcddefault</const>
</edit>
<edit name="rgba">
<const>rgb</const>
</edit>
</match>

<match>
<test name="family" compare="contains">
<string>serif</string>
</test>
<edit name="family" mode="prepend">
<string>Koruri</string>
</edit>
</match>

<match>
<test name="family">
<string>monospace</string>
</test>
<edit name="family" mode="prepend">
<string>Ricty</string>
</edit>
</match>

<selectfont>
<rejectfont>
<glob>/usr/share/fonts/misc/*</glob>
<glob>/usr/share/fonts/OTF/*</glob>
<glob>/usr/share/fonts/TTF/G*</glob>
</rejectfont>
</selectfont>
</fontconfig>
31 changes: 31 additions & 0 deletions config/git/config
@@ -0,0 +1,31 @@
[user]
name = Kazumi Moriya
email = kuroclef@gmail.com

[alias]
amend = commit -a --amend --no-edit
dispose = !git reflog expire --expire=now --all && git gc --prune=now --aggressive
filter-date = filter-branch -f --env-filter 'GIT_COMMITTER_DATE="$GIT_AUTHOR_DATE"'

[diff]
tool = vimdiff

[difftool]
prompt = false

[push]
default = matching

[url "aur@aur.archlinux.org:"]
pushInsteadOf = git://aur.archlinux.org/
insteadOf = https://aur.archlinux.org/

[url "git@bitbucket.org:"]
pushInsteadOf = git://bitbucket.org/
insteadOf = https://bitbucket.org/

[url "git@github.com:"]
pushInsteadOf = git://github.com/
insteadOf = https://github.com/

# vim:ft=gitconfig

0 comments on commit c320739

Please sign in to comment.