dotfiles

configuration files for different softwares
git clone git://z3bra.org/dotfiles
Log | Files | Refs

commit 2d9b21020539031103181395b155c54452d1ef66
parent dbf1185fac2323c6116ba8fa7e30b447893d9d86
Author: z3bra <willy@mailoo.org>
Date:   Thu May 22 18:24:58 2014

Merge branch 'master' of z3bra.org:dotfiles

Diffstat:
 Xresources  |  2 +-
 bashrc      |  1 +-
 sxhkdrc     |  1 +-
 sxhkdrc     | 33 +++++++++++++++++++++++++-
 vimrc       |  1 +-
 xbindkeysrc | 81 ++++++++++++++++++++++++++++++++++++++++++++++----------------
 6 files changed, 97 insertions(+), 22 deletions(-)

diff --git a/Xresources b/Xresources @@ -34,7 +34,7 @@ URxvt*foreground:#b3b4b1 URxvt*termName: rxvt-256color URxvt*loginShell: false URxvt*saveLines: 1024 -URxvt*geometry: 68x20 +URxvt*geometry: 80x20 !URxvt*depth: 32 URxvt*font: -*-gohufont-medium-*-*--11-*-*-*-*-*-iso10646-1,-*-stlarch-medium-r-*-*-10-*-*-*-*-*-*-* URxvt*boldFont: -*-gohufont-medium-*-*--11-*-*-*-*-*-iso10646-1,-*-stlarch-medium-r-*-*-10-*-*-*-*-*-*-* diff --git a/bashrc b/bashrc @@ -174,6 +174,7 @@ alias v="vim" alias sv="EDITOR=vim sudo -e" alias vol="alsamixer" +alias yg="youtube-dl -q -x -o '%(title).%(ext)'" # TMUX / DTACH alias t='tmux' diff --git a/sxhkdrc b/sxhkdrc @@ -1 +0,0 @@ -/home/z3bra/etc/xbindkeysrc- \ No newline at end of file diff --git a/sxhkdrc b/sxhkdrc @@ -0,0 +1,33 @@ +{mod4 + Return,XF86Calculator} + urxvt + +{mod4 + w,XF86HomePage} + dwb + +XF86Mail + urxvt -e mail + +Menu + ~/bin/menu + +XF86Audio{Raise,Lower}Volume + amixer set Master 5%{+,-} unmute; \ + ~/bin/popup volumebar + +XF86AudioMute + amixer set Master toggle; \ + ~/bin/popup volumebar + +control + {Prior,Next,Home} + ~/bin/gamma.sh {up 0.25,down 0.25, reset} + +XF86Audio{Play,Stop,Prev,Next,Mute} + mpc -h gavroche {toggle,stop,prev,next,pause} + +control + XF86Audio{Raise,Lower}Volume + mpc -h gavroche volume {+,-}10 + +alt + l + xtrlock + +# vim: set foldmethod=marker syntax=conf: diff --git a/vimrc b/vimrc @@ -96,6 +96,7 @@ au FileType make set noet au Filetype html ab -- &mdash; au Filetype html ab </ </<C-X><C-o> au Filetype mail set tw=80 fdm=marker +au BufWritePost *.sh !chmod +x % au BufWritePost *Xresources !xrdb % au VimEnter * call ViewTips() diff --git a/xbindkeysrc b/xbindkeysrc @@ -1,30 +1,71 @@ -mod4 + Return - urxvt +# -- Application launchers ---------------------------------- {{{ -- +"urxvt" + Mod4 + Return +# +"dwb" + Mod4 + w +# +"~/bin/menu.sh" + Menu +# ----------------------------------------------------------- }}} -- -mod4 + w - dwb +# -- Volume management -------------------------------------- {{{ -- +"amixer set Master 5%+ unmute" + XF86AudioRaiseVolume -Menu - ~/bin/menu +"amixer set Master 5%- unmute" + XF86AudioLowerVolume -XF86Audio{Raise,Lower}Volume - amixer set Master 5%{+,-} unmute; \ - ~/bin/popup volumebar +"amixer set Master toggle" + XF86AudioMute -XF86AudioMute - amixer set Master toggle; \ - ~/bin/popup volumebar +"~/bin/popup volumebar" + XF86AudioRaiseVolume -control + {Prior,Next,Home} - ~/bin/gamma.sh {up 0.25,down 0.25, reset} +"~/bin/popup volumebar" + XF86AudioLowerVolume -XF86Audio{Play,Stop,Prev,Next,Mute} - mpc -h gavroche {toggle,stop,prev,next,pause} +"~/bin/popup volumebar" + XF86AudioMute +# ----------------------------------------------------------- }}} -- -control + XF86Audio{Raise,Lower}Volume - mpc -h gavroche volume {+,-}10 +# -- Gamma management --------------------------------------- {{{ -- +"~/bin/gamma.sh up 0.25" + Control + Prior -control + mod1 + l - xtrlock +"~/bin/gamma.sh down 0.25" + Control + Next + +"~/bin/gamma.sh reset" + Control + Home +# ----------------------------------------------------------- }}} -- + +# -- mpc -h gavroche remote control ------------------------------------- {{{ -- +"mpc -h gavroche toggle" + XF86AudioPlay + +"mpc -h gavroche stop" + XF86AudioStop + +"mpc -h gavroche prev" + XF86AudioPrev + +"mpc -h gavroche next" + XF86AudioNext + +"mpc -h gavroche volume +10" + control + XF86AudioRaiseVolume + +"mpc -h gavroche volume -10" + control + XF86AudioLowerVolume + +"mpc -h gavroche pause" + XF86AudioMute +# ----------------------------------------------------------- }}} -- + +# -- Desktop control ---------------------------------------- {{{ -- +"xtrlock" + control + mod1 + l +# ----------------------------------------------------------- }}} -- # vim: set foldmethod=marker syntax=conf: