random misc

This commit is contained in:
Frank Villaro-Dixon 2013-08-06 12:18:27 +02:00
parent 5457b5add4
commit 069e4de21a
7 changed files with 31 additions and 4 deletions

View file

@ -58,8 +58,9 @@ case $1 in
MEMFREE=`awk '/MemFree/ {printf( "%.0f", $2 / 1024 )}' /proc/meminfo`
MEMCACHED=`awk '/Cached/ {printf( "%.0f", $2 / 10240 )}' /proc/meminfo`
MEMFT=`echo "$MEMFREE + $MEMCACHED" | bc`
BEAT_TIME=`beat -v`
xsetroot -name "Vol $VOLUME :: $MEMFT Mb Free :: Bat $BATT_PCT $BATT_TIME :: $DATE"
xsetroot -name "Vol $VOLUME :: $MEMFT Mb Free :: Bat $BATT_PCT $BATT_TIME :: $DATE (@$BEAT_TIME)"
;;
"wallpaper")

2
bashrc
View file

@ -49,7 +49,7 @@ else
MY_HOST_COL='[34m'
fi
PS1='\[\e[0;36m\]\T \[\e[1;30m\][\[\e$MY_HOST_COL\]\u@\H\[\e[1;30m\]\[\e[0;32m\]\[\e[1;30m\]] \[\e[1;37m\]\w\[\e[0;37m\] \n$ '
PS1='\[\e[0;36m\]\t \[\e[1;30m\][\[\e$MY_HOST_COL\]\u@\H\[\e[1;30m\]\[\e[0;32m\]\[\e[1;30m\]] \[\e[1;37m\]\w\[\e[0;37m\] \n$ '
#PS1='\[\e[0;36m\] \T \[\e[1;30m\][\[\e$MY_HOST_COL\]\u@\H\[\e[1;30m\]\[\e[0;32m\]\[\e[1;30m\]] \[\e[1;37m\]\w\[\e[0;37m\] \n$ '

View file

@ -3,7 +3,7 @@
############################
##### ATTENTION - /!\ ######
# Fichier sur git, #
# Accessible publiquement #
# Accessible publijuement #
# Ne pas mettre de mdp en #
# clair ! #
############################
@ -61,7 +61,7 @@ ignore "DKIM-Signature:"
hdr_order Date From To Cc
alternative_order text/plain text/html *
auto_view text/html
bind editor <Tab> complete-query
#bind editor <Tab> complete-query
bind editor ^T complete
bind editor <space> noop
@ -79,3 +79,22 @@ set tmpdir=/dev/shm/
source ~/.mutt/colors.test1
source ~/.mutt/crypto
# LISTE DE CONTACTS
#Alias
set alias_file=~/.mutt/alias
set sort_alias = alias
set reverse_alias = yes
source $alias_file
#ou abook XOR
#set query_command= "abook --mutt-query '%s'"
#macro index,pager a "<pipe-message>abook --add-email-quiet<return>" "Add this sender to Abook"
#bind editor <Tab> complete-query
set date_format="%y-%m-%d %T"
set index_format="%2C | %Z [%d] %-30.30F (%-4.4c) %s"
set sleep_time=0

View file

@ -4,3 +4,5 @@ dixon
PGP
F36914A
Enercoop
exams
proba

Binary file not shown.

4
vimrc
View file

@ -3,6 +3,9 @@
"set grepprg=grep\ -nH\ $*
"let g:tex_flavor = "latex"
"execute pathogen#infect()
syntax on
"set spelllang=en,fr
@ -29,6 +32,7 @@ set foldmethod=marker
color desert
"colorscheme wombat256modv1
"color darkblue
set cursorline
hi CursorLine term=bold cterm=bold guibg=Grey40

View file

@ -32,6 +32,7 @@ while true; do
sleep 240
done &
xautolock -time 60 -locker "systemctl suspend" &
redshift -l 46:6&
ssh-agent -t 10 /home/frank/Programmation/dotfiles/dwm/dwm