From 037bf29f746e32427644af7ed994576b7ee309e3 Mon Sep 17 00:00:00 2001 From: Indrek Juhkam Date: Sat, 20 Jul 2013 15:48:17 +0300 Subject: [PATCH] Update config --- .Xdefaults | 7 +++++-- .fonts.conf | 24 ++++++++++++++++++++++++ .vim/bundle/vundle | 2 +- .vimrc | 2 +- .zshrc | 2 ++ 5 files changed, 33 insertions(+), 4 deletions(-) create mode 100644 .fonts.conf diff --git a/.Xdefaults b/.Xdefaults index 39753a3..b1f6754 100755 --- a/.Xdefaults +++ b/.Xdefaults @@ -4,9 +4,11 @@ Xft.dpi: 109 Xft.hinting: true -Xft.hintstyle: hintfull +Xft.autohint: false +Xft.hintstyle: hintslight Xft.antialias: true Xft.rgba: rgb +Xft.lcdfilter: lcddefault ! ! Xcursor @@ -40,7 +42,8 @@ Xcursor.size: 16 *hideButtons: true !urxvt*font: xft:DejaVu Sans Mono:size=11 -*font: xft:Inconsolata:pixelsize=20 +*xftAntialias: true +*font: xft:Inconsolata:pixelsize=18:antialias=true:hinting=true ! TODO: use alt or rxvt own stuff. we use ctrl-num keys in vim ! Bind C-0, C-1, ..., C-6 activate larger fonts. diff --git a/.fonts.conf b/.fonts.conf new file mode 100644 index 0000000..424c069 --- /dev/null +++ b/.fonts.conf @@ -0,0 +1,24 @@ + + + + + + true + + + true + + + rgb + + + false + + + hintslight + + + lcddefault + + + diff --git a/.vim/bundle/vundle b/.vim/bundle/vundle index 5dd478e..769010a 160000 --- a/.vim/bundle/vundle +++ b/.vim/bundle/vundle @@ -1 +1 @@ -Subproject commit 5dd478e18e2a613466776c94f16dd5c329123cae +Subproject commit 769010ae4dc2ccb40bb0d93078f0480c80553860 diff --git a/.vimrc b/.vimrc index ed8f857..67f7dd2 100755 --- a/.vimrc +++ b/.vimrc @@ -35,7 +35,7 @@ set visualbell set t_vb= " Use ack instead of grep -set grepprg=ack-grep\ -a\ --ignore-dir=log\ --ignore-dir=tmp +set grepprg=ack-grep\ --ignore-dir=log\ --ignore-dir=tmp set wildmode=list:longest set wildignore+=.hg,.git,.svn " Version control diff --git a/.zshrc b/.zshrc index c702534..cf75f3d 100755 --- a/.zshrc +++ b/.zshrc @@ -70,6 +70,8 @@ export EDITOR='vim' # Aliases alias pp='python -mjson.tool' +alias spotify-next='DISPLAY=:0 dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next' +alias spotify-pause='DISPLAY=:0 dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause' # no spelling correction for these commands alias vim='nocorrect vim'