diff --git a/Utils/octopus.sh b/Utils/octopus.sh index db52de8..da4e58f 100755 --- a/Utils/octopus.sh +++ b/Utils/octopus.sh @@ -34,6 +34,9 @@ case $1 in "toggle") mpc toggle ;; + "pause") + mpc pause + ;; "next") mpc next ;; @@ -47,6 +50,7 @@ case $1 in "play") case $2 in "inception") + $0 audio pause $0 vol max NN=`dirname $0` mplayer $NN/audio/inception.mp3 diff --git a/bashrc b/bashrc index a01eff5..6b6d580 100644 --- a/bashrc +++ b/bashrc @@ -150,7 +150,7 @@ alias R='R --quiet' alias cdu='cdu -idh' alias dus='du -sh * | sort -h' alias im='profanity' -alias eclipseJ2EE='/home/frank/Programmation/J2EE/eclipse/eclipse' +alias eclipseJEE='/home/frank/Programmation/J2EE/eclipse/eclipse' # }}} @@ -479,6 +479,9 @@ function op "java") vim "$1" ;; + "uxf") + umlet "$1" + ;; *) xdg-open "$1" ;; diff --git a/dwm/config.h b/dwm/config.h index b9bcaf1..ac4c726 100644 --- a/dwm/config.h +++ b/dwm/config.h @@ -43,6 +43,7 @@ static const Rule rules[] = { { "Gimp", NULL, NULL, 0, True, -1 }, { "Firefox", NULL, NULL, 1 << 0, False, -1 }, { "Thunderbird", NULL, NULL, 1 << 1, False, -1 }, + { "Profanity", NULL, NULL, 1 << 14, False, -1 }, { "pdfpc", "pdfpc", NULL, 0, True, -1 }, }; @@ -92,7 +93,8 @@ static const char *lockcmd[] = {"octopus.sh", "lock", NULL}; static const char *audioplay[] = {"octopus.sh", "audio", "toggle", NULL}; static const char *audionext[] = {"octopus.sh", "audio", "next", NULL}; static const char *audioprev[] = {"octopus.sh", "audio", "prev", NULL}; -static const char *inceptionplay[] = {"octopus.sh", "play", "inception"}; +static const char *inceptionplay[] = {"octopus.sh", "play", "inception", NULL}; +static const char *printscreen[] = {"scrot", "-s", NULL}; static Key keys[] = { /* modifier key function argument */ diff --git a/vim/vimrc b/vim/vimrc index 1bdfae2..333d6ab 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -161,6 +161,7 @@ au BufRead /dev/shm/mutt-* set tw=74 fo+=aw noautoindent autocmd BufRead,BufNewFile *.tex set tw=80 fo+=aw autocmd BufRead,BufNewFile *.latex set tw=80 fo+=aw autocmd BufRead,BufNewFile *.lista set filetype=lisp +autocmd BufRead,BufNewFile *.xml set ts=4 sw=4 autocmd BufRead,BufNewFile *.m set nospell @@ -168,6 +169,7 @@ autocmd BufRead,BufNewFile *.m set nospell "Automatic documentation autocmd BufNewFile,BufRead *.py set keywordprg=pydoc autocmd BufNewFile,BufRead *.php set ts=4 sw=4 keywordprg=~/.vim/scripts/doc.php.sh +autocmd BufNewFile,BufRead *.R set ts=4 sw=4 keywordprg=~/.vim/scripts/doc.R.sh "JAVA iabbr syso System.out.println