This commit is contained in:
Frank Villaro-Dixon 2016-09-15 22:15:55 +02:00
parent 26c2c6c217
commit 175d9fda39
11 changed files with 18 additions and 26 deletions

View file

@ -89,7 +89,7 @@ case $1 in
"dual") "dual")
xrandr --output $LVDS --auto --rotate normal \ xrandr --output $LVDS --auto --rotate normal \
--output $VGA --auto --rotate normal \ --output $VGA --auto --rotate normal \
--left-of $LVDS --right-of $LVDS
;; ;;
"CV") "CV")
xrandr --output $LVDS --auto --rotate normal \ xrandr --output $LVDS --auto --rotate normal \
@ -137,12 +137,6 @@ case $1 in
fi fi
############ BTC=`BTC_stats.sh` ############ BTC=`BTC_stats.sh`
if [ -n `mpc | grep paused` ]; then
STAT="♫"
else
STAT=""
fi;
MEMFREE=`awk '/MemFree/ {printf( "%.0f", $2 / 1024 )}' /proc/meminfo` MEMFREE=`awk '/MemFree/ {printf( "%.0f", $2 / 1024 )}' /proc/meminfo`
MEMCACHED=`awk '/Cached/ {printf( "%.0f", $2 / 10240 )}' /proc/meminfo` MEMCACHED=`awk '/Cached/ {printf( "%.0f", $2 / 10240 )}' /proc/meminfo`
MEMFT=`echo "$MEMFREE + $MEMCACHED" | bc` MEMFT=`echo "$MEMFREE + $MEMCACHED" | bc`

View file

@ -1,3 +1,2 @@
frank.villaro-dixon.eu - PGP: 6F36914A frank.villaro-dixon.eu
Envie d'électricité 100% verte ? Enercoop.fr Envie d'électricité 100% verte ? Enercoop.fr
What is a Velomobile ? www.sans-essence.eu

View file

@ -2,7 +2,7 @@
* @file <+FILENAME+> * @file <+FILENAME+>
* @brief <+DESC+> * @brief <+DESC+>
* *
* 2015 - Frank Villaro-Dixon <Frank@Villaro-Dixon.eu> * <+YEAR+> - Frank Villaro-Dixon <Frank@Villaro-Dixon.eu>
*/ */
#include <stdio.h> #include <stdio.h>

View file

@ -3,7 +3,7 @@
** **
** <+DESC+> ** <+DESC+>
** **
** 2014 - Frank Villaro-Dixon <Frank@Villaro-Dixon.eu> ** <+YEAR+> - Frank Villaro-Dixon <Frank@Villaro-Dixon.eu>
*/ */
#include <iostream> #include <iostream>

View file

@ -1,7 +1,7 @@
/** /**
* <+FILENAME+> * <+FILENAME+>
* @brief <+DESC+> * @brief <+DESC+>
* 2015 - Frank Villaro-Dixon <Frank@Villaro-Dixon.eu> * <+YEAR+> - Frank Villaro-Dixon <Frank@Villaro-Dixon.eu>
*/ */
#ifndef <+HEADERNAME+> #ifndef <+HEADERNAME+>

View file

@ -3,7 +3,7 @@
** **
** <+DESC+> ** <+DESC+>
** **
** 2014 - Frank Villaro-Dixon <Frank@Villaro-Dixon.eu> ** <+YEAR+> - Frank Villaro-Dixon <Frank@Villaro-Dixon.eu>
*/ */
class <+CLASSNAME+> { class <+CLASSNAME+> {

View file

@ -1,6 +1,6 @@
/* <+FILENAME+> /* <+FILENAME+>
* <+DESCRIPTION+> * <+DESCRIPTION+>
* Copyright Frank Villaro-Dixon, BSD Simplified, 2014 * Copyright Frank Villaro-Dixon, BSD Simplified, <+YEAR+>
*/ */

View file

@ -5,7 +5,7 @@ function [<+OUTPUTS+>] = <+MFNAME+>(<+INPUTS+>)
% Outputs: % Outputs:
% <+OUTPUT1+> % <+OUTPUT1+>
% %
%Copyright Frank Villaro-Dixon Creative Commons BY-SA 4.0 2014 %Copyright Frank Villaro-Dixon Creative Commons BY-SA 4.0 <+YEAR+>
<+CODE+> <+CODE+>

View file

@ -1,11 +0,0 @@
(**
* <+FILENAME+> - <+DESC+>
*
* (C) 2010 - Gillieron Kevin <kevin.gillieron@gw-computing.net>
*)
program <+PROGNAME+>;
begin
<+CODE+>
end.

View file

@ -95,3 +95,7 @@ Aurelia
Victorinox Victorinox
kevlar kevlar
bbox bbox
wristpads
PV
PHES
penstock

View file

@ -146,11 +146,13 @@ autocmd BufNewFile *
\ let hn = substitute(hn, "\\.", "_", "g") | \ let hn = substitute(hn, "\\.", "_", "g") |
\ let hn = substitute(hn, "/", "_", "g") | \ let hn = substitute(hn, "/", "_", "g") |
\ let mfn = substitute(fn, ".m", "", "") | \ let mfn = substitute(fn, ".m", "", "") |
\ let year= strftime('%Y') |
\ let cn = expand("%:t:r") | \ let cn = expand("%:t:r") |
\ %s/<+FILENAME+>/\=fn/Ige | \ %s/<+FILENAME+>/\=fn/Ige |
\ %s/<+HEADERNAME+>/\=hn/Ige | \ %s/<+HEADERNAME+>/\=hn/Ige |
\ %s/<+CLASSNAME+>/\=cn/Ige | \ %s/<+CLASSNAME+>/\=cn/Ige |
\ %s/<+MFNAME+>/\=mfn/Ige | \ %s/<+MFNAME+>/\=mfn/Ige |
\ %s/<+YEAR+>/\=year/Ige |
\ unlet fn hn cn | \ unlet fn hn cn |
\ endif | \ endif |
\ unlet skel | \ unlet skel |
@ -173,6 +175,10 @@ autocmd BufRead,BufNewFile *.xml set ts=4 sw=4
autocmd BufRead,BufNewFile *.html set ts=4 sw=4 autocmd BufRead,BufNewFile *.html 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
au BufRead,BufNewFile *.utpl set filetype=html
au BufRead,BufNewFile *.utpl set syntax=underscore_template
"autocmd BufRead,BufNewFile *.m set nospell "autocmd BufRead,BufNewFile *.m set nospell