-[submodule "awesome/vicious"]
- path = awesome/vicious
- url = http://git.sysphere.org/vicious
[submodule "awesome/awesome-freedesktop"]
path = awesome/awesome-freedesktop
url = https://github.com/terceiro/awesome-freedesktop.git
-- {{{ Rules
local sc = screen.count()
+if sc == 1 then mediatag = tags[1][9] end
if sc == 2 then mediatag = tags[2][3] end
-if sc == 1 then mediatag = tags[1][4] end
-if sc == 2 then wwwtag = tags[2][1] end
if sc == 1 then wwwtag = tags[1][2] end
+if sc == 2 then wwwtag = tags[2][1] end
-if sc == 2 then imtag = tags[2][2] end
if sc == 1 then imtag = tags[1][3] end
+if sc == 2 then imtag = tags[2][2] end
+if sc == 1 then socialtag = tags[1][4] end
if sc == 2 then socialtag = tags[2][4] end
-if sc == 1 then socialtag = tags[1][5] end
awful.rules.rules = {
-- All clients will match this rule.
+++ /dev/null
-#!/bin/bash
-#######################################################################
-# Ubuntu-Desktop-Minimal: Post-install script to install only the bare
-# essentials of an Ubuntu Desktop.
-#######################################################################
-echo "[*] Installing Gnome Essentials"
-sudo apt-get -y install gnome-core gdm network-manager-gnome fast-user-switch-applet \
-human-theme x11-xserver-utils tangerine-icon-theme gnome-themes-ubuntu ubuntu-artwork \
-jockey-gtk gnome-screensaver gnome-utils
-echo "[*] Installing Application Essentials"
-sudo apt-get install -y gcalctool tsclient
+augroup fs_roscpp
+ autocmd!
+ autocmd BufEnter *.cpp let b:fswitchdst = 'h'
+ autocmd BufEnter *.cpp let b:fswitchlocs = 'reg:|src$|include/**|'
+ autocmd BufEnter *.h let b:fswitchdst = 'cpp'
+ autocmd BufEnter *.h let b:fswitchlocs = 'reg:/include.*/src/'
+augroup END
+
+set makeprg=catkin_make\ -C$ROS_WORKSPACE
#ifndef ${1:`!p
if not snip.c:
import random, string
- name = re.sub(r'[^A-Za-z0-9]+','_', snip.fn).upper()
- rand = ''.join(random.sample(string.ascii_letters+string.digits, 8))
- snip.rv = ('%s_%s' % (name,rand)).upper()
+ snip.rv = re.sub(r'[^A-Za-z0-9]+','_', snip.fn).upper()
else:
snip.rv = snip.c`}
#define $1
${VISUAL}${0}
-#endif /* end of include guard: $1 */
+#endif // $1
endsnippet
snippet td "Typedef"
\ endif
augroup END
-" auto source vimrc when saved {{{2
-augroup source_vimrc
- au!
- autocmd bufwritepost vimrc source $MYVIMRC
-augroup END
-
" bindings {{{1
" allow both <space> and / to be <leader>
" Gundo {{{2
nnoremap <F7> :GundoToggle<CR>
+" fswitch {{{2
+nnoremap <silent> <Leader>ff :FSHere<CR>
+nnoremap <silent> <Leader>fl :FSRight<CR>
+nnoremap <silent> <Leader>fh :FSLeft<CR>
+nnoremap <silent> <Leader>fL :FSSplitRight<CR>
+nnoremap <silent> <Leader>fH :FSSplitLeft<CR>
+
" fugitive {{{2
nmap <silent> <leader>dd :tab split \| Gdiff \| wincmd h<CR>
" delete fugitive buffers when closed
flags += rospack()
relative_to = cwd
final_flags = MakeRelativePathsInFlagsAbsolute( flags, relative_to )
- print flags
return {
'flags': final_flags,
alias pacinsd='sudo pacman -S --asdeps' # Install given package(s) as dependencies of another package
alias pacmir='sudo pacman -Syy' # Force refresh of all package lists after updating /etc/pacman.d/mirrorlist
+[[ -x /usr/bin/packer ]] && alias aur='packer'
+
# https://bbs.archlinux.org/viewtopic.php?id=93683
paclist() {
pacman -Qei | awk 'BEGIN {FS=": "}/^Name/{printf("\033[1;36m%s\033[0m ",$2)}/^Description/{print $2}'