dotfiles

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

commit 404f9a8e84ee232412d5979332222769e0e03ff7
parent 49a1b786d0443f92f372899dd486ecbc9d014e22
Author: z3bra <willy@mailoo.org>
Date:   Wed Mar 12 22:37:36 2014

New bash aliases, and fixed a few things

Diffstat:
 bashrc      |  9 +++++++--
 xbindkeysrc | 20 +++++++++-----------
 xinitrc     | 20 +++++---------------
 3 files changed, 21 insertions(+), 28 deletions(-)

diff --git a/bashrc b/bashrc @@ -71,6 +71,11 @@ function ttycolors() { fi } +say () { + uri='http://translate.google.com/translate_tts?tl=en&q=' + mplayer -really-quiet "${uri}$*" +} + # auto-cd into a created directory mcd () { mkdir $@ && cd $_ @@ -96,8 +101,8 @@ alias mv="mv -i" # Alias to avoid some "RAAAAAAAAAH !!" alias :q="quit" alias cd..="cd .." -alias fu="sudo $(fc -n -l -1)" -alias fuck="sudo $(fc -n -l -1)" +alias fu='sudo `fc -n -l -1`' +alias fuck='sudo `fc -n -l -1`' # Make some output colorfull alias ls="ls --color=auto" diff --git a/xbindkeysrc b/xbindkeysrc @@ -1,16 +1,14 @@ # -- X11 custom binds ------------------------------------------- {{{ -- # -- Application launchers ---------------------------------- {{{ -- - "urxvt" - Mod4 + space -# - "dwb" - Mod4 + w -# -# "gmrun" -# Alt + F2 -# -# "~/.qlprism/qlprism.sh" -# Mod4 + q +# +"urxvt" + Mod4 + Return + +"dmenu_run" + Mod4 + exclam + +"dwb" + Mod4 + w # ----------------------------------------------------------- }}} -- # -- Volume management -------------------------------------- {{{ -- diff --git a/xinitrc b/xinitrc @@ -3,11 +3,8 @@ # ~/.xinitrc # -# load nvidia config -nvidia-settings -l --config=$HOME/.config/nvidia - # Set wallpaper -hsetroot -fill ~/usr/img/bg/sunrise.jpg +hsetroot -fill ~/usr/img/bg/lego.jpg # default cursor xsetroot -cursor_name left_ptr & @@ -19,24 +16,17 @@ function wm() { # set WM name xsetroot -name $1 - # Compositing # enable RGBA module for GTK export GTK_MODULES=rgba - compton -cb -o0 + (while :; do ~/bin/bar/status.sh -F9 -H3 -Lc -Rmb; sleep 15; done)|bar -bpf & + xbindkeys # spawn window manager exec $1 } -[[ -z $1 ]] && wm cwm +[[ -z $1 ]] && wm 2bwm -case $1 in - rage) exec wine ~/var/games/rage/Rage.exe;; - defrag) exec /opt/quake3/iodfengine.x86_64;; - quakelive) exec qlprism;; - teeworlds) exec teeworlds;; - sauerbraten) exec sauerbraten-client;; - *) wm $1;; -esac +wm $1