various shit
This commit is contained in:
parent
7f779a5fe6
commit
c812370d79
9 changed files with 40 additions and 5 deletions
|
@ -3,7 +3,7 @@
|
|||
#OCTOPUS=~/Programmation/Utils/octopus.sh
|
||||
#This octopus handles all the actions like volume up, refresh status bar, etc..
|
||||
|
||||
SNU=1
|
||||
SNU=2
|
||||
VGA=VGA$SNU
|
||||
LVDS=LVDS$SNU
|
||||
|
||||
|
@ -152,6 +152,7 @@ case $1 in
|
|||
ifconfig eth0 | grep netmask > /dev/null
|
||||
if [ $? -eq 0 ]; then
|
||||
sudo ifconfig wlan0 down
|
||||
true
|
||||
else
|
||||
sudo ifconfig wlan0 up
|
||||
fi
|
||||
|
|
|
@ -191,10 +191,11 @@ lockscreen(Display *dpy, int screen)
|
|||
|
||||
/* init */
|
||||
wa.override_redirect = 1;
|
||||
wa.background_pixel = BlackPixel(dpy, lock->screen);
|
||||
wa.background_pixel = WhitePixel(dpy, lock->screen);
|
||||
lock->win = XCreateWindow(dpy, lock->root, 0, 0,
|
||||
DisplayWidth(dpy, lock->screen),
|
||||
DisplayHeight(dpy, lock->screen), 0,
|
||||
20, //DisplayHeight(dpy, lock->screen),
|
||||
0,
|
||||
DefaultDepth(dpy, lock->screen),
|
||||
CopyFromParent,
|
||||
DefaultVisual(dpy, lock->screen),
|
||||
|
|
4
bashrc
4
bashrc
|
@ -120,6 +120,7 @@ alias vmi='vim'
|
|||
|
||||
alias gl='git log --graph --abbrev-commit --pretty=oneline --decorate'
|
||||
alias gitst='git status'
|
||||
alias gti='git'
|
||||
alias git_mail='git send-email --annotate --compose origin'
|
||||
alias poule='git pull'
|
||||
alias gs='git status'
|
||||
|
@ -128,6 +129,7 @@ alias push='git push'
|
|||
|
||||
alias makew='make'
|
||||
alias mkae='make'
|
||||
alias amke='make'
|
||||
alias mak='make'
|
||||
alias amek='make'
|
||||
|
||||
|
@ -158,7 +160,7 @@ alias shm='cd /dev/shm'
|
|||
|
||||
alias ip6='ip -6'
|
||||
alias disk-usage-analyser='baobab'
|
||||
alias o='octave --quiet'
|
||||
alias o='octave --quiet --no-gui'
|
||||
alias R='R --quiet'
|
||||
alias cdu='cdu -idh'
|
||||
alias dus='du -sh * | sort -h'
|
||||
|
|
|
@ -17,9 +17,11 @@
|
|||
br = branch
|
||||
pu = push
|
||||
psuh = push
|
||||
undo-commit = reset --soft HEAD^
|
||||
|
||||
[core]
|
||||
editor = vim
|
||||
excludesfile = ~/.gitignore
|
||||
|
||||
[merge]
|
||||
tool = vimdiff
|
||||
|
|
|
@ -86,3 +86,8 @@ color markers brightcyan black
|
|||
mono bold bold
|
||||
mono underline underline
|
||||
mono indicator reverse
|
||||
|
||||
color body brightblue white "(^|[[:space:]])\\*[^[:space:]]+\\*([[:space:]]|$)" # *Bold* text.
|
||||
color body brightblue white "(^|[[:space:]])_[^[:space:]]+_([[:space:]]|$)" # _Underlined_ text.
|
||||
color body brightblue white "(^|[[:space:]])/[^[:space:]]+/([[:space:]]|$)" # /Italic/ text.
|
||||
|
||||
|
|
2
octaverc
2
octaverc
|
@ -1,6 +1,6 @@
|
|||
# Set up a prettier prompt
|
||||
#PS1('\[\e[1;32m\]>>> \[\e[m\]\[\e[0;20m\]')
|
||||
PS1('\W\[\e[m\] \[\e[1;32m\]>>> \[\e[m\]\[\e[0;20m\]')
|
||||
#PS1('\W\[\e[m\] \[\e[1;32m\]>>> \[\e[m\]\[\e[0;20m\]')
|
||||
|
||||
function man (name)
|
||||
help (char (name))
|
||||
|
|
|
@ -23,6 +23,8 @@
|
|||
|
||||
\usepackage{boiboites}
|
||||
|
||||
\usepackage{acronym}
|
||||
|
||||
|
||||
% Lenny, Conny ,Bjarne, Rejne, Glenn, Sonny, PetersLenny, Bjornstrup
|
||||
\usepackage[Lenny]{fncychap}
|
||||
|
@ -33,8 +35,15 @@
|
|||
%\pagestyle{fancyplain}
|
||||
|
||||
|
||||
\usepackage{eurosym}
|
||||
\usepackage{siunitx}
|
||||
%%%%\sisetup{group-separator = {`}}
|
||||
\DeclareSIUnit{\EUR}{\text{\euro}}
|
||||
\DeclareSIUnit{\month}{mo}
|
||||
\sisetup{
|
||||
% per-mode = fraction,
|
||||
inter-unit-product = \ensuremath{{}\cdot{}},
|
||||
}
|
||||
|
||||
\usepackage{indentfirst}
|
||||
\setlength{\parindent}{1cm}
|
||||
|
|
|
@ -62,3 +62,16 @@ d'Aarhus
|
|||
extrapolable
|
||||
péjorer
|
||||
Paravalanches
|
||||
Surpuissance
|
||||
infréquentes
|
||||
incentives
|
||||
conservatif
|
||||
Levenshtein
|
||||
fi
|
||||
l'EPFL
|
||||
conscientiser
|
||||
Braess
|
||||
environnementalement
|
||||
irradiance
|
||||
d'irradiance
|
||||
relayage
|
||||
|
|
2
xinitrc
2
xinitrc
|
@ -61,6 +61,8 @@ redshift -l 46:6 || true &
|
|||
mpc ls | mpc add
|
||||
mpc random on
|
||||
|
||||
dvorak
|
||||
|
||||
|
||||
#ssh-agent -t 10 /home/frank/Programmation/dotfiles/dwm/dwm
|
||||
/home/frank/Programmation/dotfiles/dwm/dwm
|
||||
|
|
Loading…
Reference in a new issue