diff --git a/Utils/unige.sh b/Utils/unige.sh new file mode 100755 index 0000000..cf04481 --- /dev/null +++ b/Utils/unige.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +sudo killall wpa_supplicant + +sudo wpa_supplicant -iwlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf & + +#sleep 10 + +#Ugly +#sudo ifconfig wlan0 10.9.3.208 netmask 255.255.252.0 + +#sudo ip route add 10.9.0.0/22 dev wlan0 +#sudo ip route add default via 10.9.0.1 dev wlan0 diff --git a/bashrc b/bashrc index 8eab040..6800bd7 100644 --- a/bashrc +++ b/bashrc @@ -16,6 +16,16 @@ PROMPT_COMMAND='history -a' complete -cf sudo complete -cf man +man() { + env LESS_TERMCAP_mb=$'\E[01;31m' \ + LESS_TERMCAP_md=$'\E[01;38;5;74m' \ + LESS_TERMCAP_me=$'\E[0m' \ + LESS_TERMCAP_se=$'\E[0m' \ + LESS_TERMCAP_so=$'\E[38;5;246m' \ + LESS_TERMCAP_ue=$'\E[0m' \ + LESS_TERMCAP_us=$'\E[04;38;5;146m' \ + man "$@" +} #####ON DEFINIT LES COULEURS red='\033[31m' @@ -91,6 +101,8 @@ alias sudpo='sudo' #alias pacman='pacman-color' alias pacmacn='pacman' +# '[r]emove [o]rphans' - recursively remove ALL orphaned packages +alias pacro="/usr/bin/pacman -Qtdq > /dev/null && sudo /usr/bin/pacman -Rns \$(/usr/bin/pacman -Qtdq | sed -e ':a;N;\$!ba;s/\n/ /g')" alias grep='grep --color' diff --git a/chooseWP.sh b/chooseWP.sh index bc5fb1d..8ce1161 100755 --- a/chooseWP.sh +++ b/chooseWP.sh @@ -1,4 +1,4 @@ #!/bin/sh wallpaper_path=/home/frank/Pictures/wallpapers/ image=$(ls $wallpaper_path | grep -E '(jpg|png)$' | sort -R | tail -1) -feh --bg-scale $wallpaper_path/$image & +feh --bg-fill $wallpaper_path/$image & diff --git a/dwm/MEMO_DWM b/dwm/MEMO_DWM index 3d1bb39..11cd8b2 100644 --- a/dwm/MEMO_DWM +++ b/dwm/MEMO_DWM @@ -1,6 +1,8 @@ Alt - [1-8] - Changer vue Ctrl - Alt - [1-8] - Changer la fenetre de vue +Alt-Shift-Space - Remetre en plein eécran + M+p spawn dmenu M+S+Return spawn a terminal M+S+c kill window diff --git a/dwm/config.h b/dwm/config.h index adf2146..013714a 100644 --- a/dwm/config.h +++ b/dwm/config.h @@ -32,6 +32,7 @@ static const Rule rules[] = { /* layout(s) */ static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */ static const int nmaster = 1; /* number of clients in master area */ +/* coller au bords, ou pas */ static const Bool resizehints = True; /* True means respect size hints in tiled resizals */ static const Layout layouts[] = { diff --git a/mutt/killsig b/mutt/killsig index 4b7d4f6..625dffd 100755 --- a/mutt/killsig +++ b/mutt/killsig @@ -7,7 +7,7 @@ open(MAIL, "+<$ARGV[0]") || die "$0: Can't open $ARGV[0]: $!"; while () { - unless (/^> ?-- ?$/) { + unless (/^>>? ?-- ?$/) { push(@purged, $_); } else { diff --git a/mutt/muttrc b/mutt/muttrc index 7180f14..b6ae7ef 100644 --- a/mutt/muttrc +++ b/mutt/muttrc @@ -54,6 +54,13 @@ set sort_aux = 'reverse-last-date-received' set auto_tag = yes set abort_unmodified=ask-yes #réponse non modifiée +set fast_reply="yes" # Yeah, I know what person I want to reply to! + +set attribution="On %d, that guy, %n, wrote %c characters saying:" + +set indent_string=">" + + ignore "Authentication-Results:" ignore "DomainKey-Signature:" ignore "DKIM-Signature:" @@ -87,7 +94,7 @@ set sort_alias = alias set reverse_alias = yes source $alias_file -set date_format="%d-%m-%y %T" +set date_format="%y-%m-%d %T" set index_format="%2C | %Z [%d] %-30.30F (%-4.4c) %s" set sleep_time=0 diff --git a/ssh/config b/ssh/config index 9e4f042..7b62c8a 100644 --- a/ssh/config +++ b/ssh/config @@ -10,6 +10,7 @@ host 178.250.210.95 host 192.168.42.1 port 1337 host git.vi-di.fr + user git port 1337 host aeipi