diff --git a/Utils/latex2pdf b/Utils/latex2pdf new file mode 100755 index 0000000..e68f7fd --- /dev/null +++ b/Utils/latex2pdf @@ -0,0 +1,19 @@ +#!/bin/bash + +test #$ -gt 1 || exit 1 + +tmp=tmp$$ +file=/dev/shm/$tmp +result=$(echo $1 | rev | cut -d. -f2- | rev).pdf + +sed 's/oeil/\\oe{}il/g; +s/oeuvre/\\oe{}uvre/g; +s/soeur/s\\oe{}ur/g; +s/noeud/n\\oe{}ud/g; +s/oeuf/\\oe{}uf/g; +s/boeuf/b\\oe{}uf/g +' $1 > $file + +pdflatex $file +mv $tmp.pdf $result +rm -f $tmp* diff --git a/bashrc b/bashrc index ce02fd1..d3518c8 100644 --- a/bashrc +++ b/bashrc @@ -379,27 +379,6 @@ function mutt() { fi; } -function latex2pdf() { - test #$ -gt 1 || exit 1 - - tmp=tmp$$ - file=/dev/shm/$tmp - result=$(echo $1 | rev | cut -d. -f2- | rev).pdf - - sed 's/oeil/\\oe{}il/g; - s/oeuvre/\\oe{}uvre/g; - s/soeur/s\\oe{}ur/g; - s/noeud/n\\oe{}ud/g; - s/oeuf/\\oe{}uf/g; - s/boeuf/b\\oe{}uf/g - ' $1 > $file - - pdflatex $file - mv $tmp.pdf $result - rm -f $tmp* -} - - # }}} SSHAGENT=/usr/bin/ssh-agent @@ -426,6 +405,9 @@ export DEVKITPRO=/opt/devkitpro export DEVKITARM=$DEVKITPRO/devkitARM export PATH=$PATH:$DEVKITARM/bin export MANPATH=$MANPATH:$DEVKITARM/man + + +export PATH=$PATH:~/Programmation/dotfiles/Utils # }}} #Launch startx when login diff --git a/mutt/colors.test1 b/mutt/colors.test1 index 2f2e348..f354f25 100644 --- a/mutt/colors.test1 +++ b/mutt/colors.test1 @@ -21,6 +21,14 @@ color body brightgreen black "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+" mono body bold "(http|ftp|news|telnet|finger)://[^ \"\t\r\n]*" mono body bold "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+" +#color body blue black "[*][-[:alnum:]]+[*]" # *bold* +#color body yellow blue "[*][-[:alnum:]]+ *[-[:alnum:]]+[*]" # *really bold* +#color body yellow blue "/[-[:alnum:]]+/" # /emphasized/ +#color body yellow blue "[-]+[-[[:alnum:]]+[-]{1}" # -strike-through- +#color body red black "_[-[:alnum:]]+_" # _underline_ +#FIXME + + # email addresses color body brightgreen black "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+" #mono body bold "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+" @@ -39,13 +47,13 @@ color header yellow black "^message-id:" color header yellow black "^Organization:" color header yellow black "^Organisation:" color header yellow black "^User-Agent:" +color header yellow black "^X-Author:" color header yellow black "^message-id: .*pine" color header yellow black "^X-WebTV-Stationery:" color header yellow black "^X-Message-Flag:" color header yellow black "^X-Spam-Status:" color header yellow black "^X-SpamProbe:" color header red black "^X-SpamProbe: SPAM" -color header red black "^X-Author:" # Coloring quoted text - coloring the first 7 levels: diff --git a/vim/vimrc b/vim/vimrc index 211a86f..443e21a 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -68,8 +68,6 @@ map w map W - - set list set listchars=tab:\|\-"Cool for ifs/whiles "set listchars=tab:\|\ "Cool for ifs/whiles @@ -77,8 +75,8 @@ set listchars+=trail:· "For eol with spaces "set listchars+=eol:↲ "To show eol;not very useful with trail, but cool anyway :p set listchars+=nbsp:⍽ "For unbreakeable spaces -highlight NonText ctermfg=8 guifg=gray "EOL -highlight SpecialKey ctermfg=grey +highlight NonText ctermfg=8 guifg=lightblue "EOL +highlight SpecialKey ctermfg=lightblue set history=500 diff --git a/xinitrc b/xinitrc index 729f7f6..f57b7b8 100644 --- a/xinitrc +++ b/xinitrc @@ -41,6 +41,11 @@ while true; do $OCTOPUS wallpaper done & +while true; do + sleep 120 + $OCTOPUS init-mouse +done & + xautolock -time 60 -locker "systemctl suspend" & redshift -l 46:6&