From a61e1aefc99bb50753090f2c44956e5d31c0767d Mon Sep 17 00:00:00 2001 From: Frank Villaro-Dixon Date: Mon, 14 Oct 2013 11:22:08 +0200 Subject: [PATCH] bash things & vim --- Utils/octopus.sh | 17 ++++++++++++++++- bashrc | 2 +- mutt/account.aei | 8 ++++++-- mutt/account.frank | 2 ++ mutt/muttrc | 1 - vim/spell/.gitignore | 1 + vim/spell/en.utf-8.add | 1 + vim/spell/en.utf-8.add.spl | Bin 121 -> 0 bytes vim/vimrc | 9 +++++++-- 9 files changed, 34 insertions(+), 7 deletions(-) create mode 100644 vim/spell/.gitignore delete mode 100644 vim/spell/en.utf-8.add.spl diff --git a/Utils/octopus.sh b/Utils/octopus.sh index dbcdd2a..637d9a7 100755 --- a/Utils/octopus.sh +++ b/Utils/octopus.sh @@ -88,10 +88,25 @@ case $1 in else $0 monitor extern fi - + $0 init-wifi + $0 init-mouse $0 wallpaper ;; + "init-mouse") + sudo tpkbdctl -s255 + ;; + + "init-wifi") + sudo wpa_supplicant -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf & + sudo dhcpcd wlan0 & + ;; + "init-ethernet") + sudo ifconfig eth0 up & + sudo dhcpcd eth0 & + ;; + + "suspend") systemctl suspend xlock -mode blank diff --git a/bashrc b/bashrc index 989f1ba..bbb3cd8 100644 --- a/bashrc +++ b/bashrc @@ -154,7 +154,7 @@ alias op='xdg-open' alias o='octave' alias cdu='cdu -idh' alias dus='du -sh * | sort -h' -alias im='dtach -A /dev/shm/im profanity' +alias im='profanity' # }}} diff --git a/mutt/account.aei b/mutt/account.aei index 7d817ec..81bd7f6 100644 --- a/mutt/account.aei +++ b/mutt/account.aei @@ -1,4 +1,4 @@ -set from="Association des Etudiants en Informatique " +set from="aei-cui@unige.ch" set realname="Association des Etudiants en Informatique" set hostname="unige.ch" @@ -6,10 +6,14 @@ set folder="imaps://aei@outlook.unige.ch:993/" #set imap_user="aei" set postponed="+Drafts" set spoolfile="+INBOX" -set record = "+Sent" +#set record = "+Sent" +set record = "+Éléments envoyés" set signature="~/.mutt/signature.aei" set smtp_url="smtp://aei@outlook.unige.ch:587" +my_hdr X-URL: http://aei.unige.ch +my_hdr X-Sender: Frank + set smtp_pass=$my_aei_stmp_pass set imap_pass=$my_aei_imap_pass diff --git a/mutt/account.frank b/mutt/account.frank index 24380d1..229c510 100644 --- a/mutt/account.frank +++ b/mutt/account.frank @@ -10,6 +10,8 @@ set record = "+Sent" set signature="~/.signature" set smtp_url="smtp://frank_mail@villaro-dixon.eu:587" +my_hdr X-URL: http://frank.villaro-dixon.eu + set smtp_pass = $my_frank_smtp_pass set imap_pass = $my_frank_imap_pass diff --git a/mutt/muttrc b/mutt/muttrc index 7f70cf1..61bd675 100644 --- a/mutt/muttrc +++ b/mutt/muttrc @@ -86,7 +86,6 @@ set text_flowed ignore "Authentication-Results:" ignore "DomainKey-Signature:" ignore "DKIM-Signature:" -my_hdr X-URL: http://frank.villaro-dixon.eu hdr_order Date From To Cc alternative_order text/plain text/html * auto_view text/html diff --git a/vim/spell/.gitignore b/vim/spell/.gitignore new file mode 100644 index 0000000..6d535c0 --- /dev/null +++ b/vim/spell/.gitignore @@ -0,0 +1 @@ +*.spl diff --git a/vim/spell/en.utf-8.add b/vim/spell/en.utf-8.add index b49a4cf..8e1c2b5 100644 --- a/vim/spell/en.utf-8.add +++ b/vim/spell/en.utf-8.add @@ -5,3 +5,4 @@ UTC init i printf +connectique diff --git a/vim/spell/en.utf-8.add.spl b/vim/spell/en.utf-8.add.spl deleted file mode 100644 index 87c6030179fa9027b0ddae8a560fe06e7b027f2c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 121 zcmXAiK@NZ*3K{>k``ZFtbg&PIE~vgz*!RrS~zF=T(XD rxFNV;IVTbf*<(WhL W set list set listchars=tab:\|\-"Cool for ifs/whiles +"set listchars=tab:\|\ "Cool for ifs/whiles set listchars+=trail:· "For eol with spaces -set listchars+=eol:↲ "To show eol;not very useful with trail, but cool anyway :p +"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 + set history=500 set undolevels=500