various shit

This commit is contained in:
Frank Villaro-Dixon 2014-11-16 14:55:00 +01:00
parent b6556208c1
commit 60ed068c27
8 changed files with 29 additions and 7 deletions

1
TO_INSTALL Normal file
View file

@ -0,0 +1 @@
xbindkeysrc

3
bashrc
View file

@ -513,6 +513,9 @@ function op
"odt") "odt")
libreoffice "$1" libreoffice "$1"
;; ;;
"png"|"jpg"|"jpeg")
eog "$i"
;;
*) *)
xdg-open "$1" xdg-open "$1"
;; ;;

View file

@ -23,6 +23,7 @@ function deploy_for_desktop()
{ # {{{ { # {{{
cd ~ cd ~
ln -s $WAI/xinitrc ./.xinitrc ln -s $WAI/xinitrc ./.xinitrc
ln -s $WAI/xbindkeysrc ./.xbindkeysrc
ln -s $WAI/inputrc ./.inputrc ln -s $WAI/inputrc ./.inputrc
ln -s $WAI/Xmodmap ./.Xmodmap ln -s $WAI/Xmodmap ./.Xmodmap
ln -s $WAI/octaverc ./.octaverc ln -s $WAI/octaverc ./.octaverc

View file

@ -14,17 +14,20 @@
\usepackage{amsfonts} \usepackage{amsfonts}
\usepackage{amssymb} \usepackage{amssymb}
\usepackage{microtype}
\usepackage[french]{babel} \usepackage[french]{babel}
%\usepackage[Sonny]{fncychap} % Lenny, Conny ,Bjarne, Rejne, Glenn, Sonny % Lenny, Conny ,Bjarne, Rejne, Glenn, Sonny, PetersLenny, Bjornstrup
\usepackage[Sonny]{fncychap}
%\usepackage{fancyhdr} %\usepackage{fancyhdr}
\usepackage{fancyhdr} %\usepackage{fancyhdr}
\pagestyle{fancyplain} %\pagestyle{fancyplain}
\usepackage{sistyle} \usepackage{siunitx}
\SIthousandsep{'} %to use with \num{1337}
\usepackage{indentfirst} \usepackage{indentfirst}
\setlength{\parindent}{1cm} \setlength{\parindent}{1cm}

View file

@ -32,3 +32,11 @@ isfield
rmfield rmfield
elseif elseif
TEAP TEAP
Pfankuch
Evolène
Ferpècle
desdites
Sion
Cryosphère
hydrobiologie
piétonisation

View file

@ -160,9 +160,9 @@ inoremap ¸ <esc>/<+.\{-1,}+><return>c/+>/e<return>
"CF. limit of 74 for when ">>>" ;) "CF. limit of 74 for when ">>>" ;)
au BufRead /dev/shm/mutt-* set tw=74 fo+=aw noautoindent au BufRead /dev/shm/mutt-* set tw=74 fo+=aw noautoindent
autocmd BufRead,BufNewFile *.tex set tw=80 fo+=aw
autocmd BufRead,BufNewFile *.markdown set tw=80 fo+=aw autocmd BufRead,BufNewFile *.markdown set tw=80 fo+=aw
autocmd BufRead,BufNewFile *.latex set tw=80 fo+=aw autocmd BufRead,BufNewFile *.tex set filetype=tex tw=80 fo+=aw
autocmd BufRead,BufNewFile *.latex set tw=80 fo+=aw ts=4
autocmd BufRead,BufNewFile *.lista set filetype=lisp autocmd BufRead,BufNewFile *.lista set filetype=lisp
autocmd BufRead,BufNewFile *.xml set ts=4 sw=4 autocmd BufRead,BufNewFile *.xml set ts=4 sw=4
autocmd BufRead,BufNewFile *.md set filetype=markdown tw=80 fo+=aw autocmd BufRead,BufNewFile *.md set filetype=markdown tw=80 fo+=aw

3
xbindkeysrc Normal file
View file

@ -0,0 +1,3 @@
"synclient TouchpadOff=$(synclient -l | grep -ce TouchpadOff.*0)"
m:0x0 + c:199
XF86TouchpadToggle

View file

@ -19,6 +19,8 @@ wmname LG3D
#Keyboard setup +compose key for "ŭ" (Win-b u) for esperanto #Keyboard setup +compose key for "ŭ" (Win-b u) for esperanto
setxkbmap -model pc104 -layout ch -variant fr -option compose:lwin setxkbmap -model pc104 -layout ch -variant fr -option compose:lwin
xbindkeysrc &
#My pinkie hurts :'( #My pinkie hurts :'(
if [ -s ~/.Xmodmap ]; then if [ -s ~/.Xmodmap ]; then
@ -59,6 +61,7 @@ redshift -l 46:6 || true &
mpc ls | mpc add mpc ls | mpc add
mpc random on mpc random on
#ssh-agent -t 10 /home/frank/Programmation/dotfiles/dwm/dwm #ssh-agent -t 10 /home/frank/Programmation/dotfiles/dwm/dwm
/home/frank/Programmation/dotfiles/dwm/dwm /home/frank/Programmation/dotfiles/dwm/dwm
bash bash