summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/bin/dyndns2
-rwxr-xr-xbin/bin/wifi7
-rw-r--r--mutt/.mutt/muttrc2
-rw-r--r--ncmpcpp/config2
-rw-r--r--vifm/.vifm/colors/default.vifm18
-rw-r--r--vifm/.vifm/colors/solarized.vifm2
-rw-r--r--vifm/.vifm/vifmrc2
-rw-r--r--vim/.vimrc7
8 files changed, 25 insertions, 17 deletions
diff --git a/bin/bin/dyndns b/bin/bin/dyndns
index d0efdc6..8d1f553 100755
--- a/bin/bin/dyndns
+++ b/bin/bin/dyndns
@@ -2,4 +2,4 @@
PASSWORD=$(pass show email/urbain@vaes.uk)
-curl -4 -X PUT --user "urbain@vaes.uk:$PASSWORD" https://box.bknguyen.org/admin/dns/custom/vaes.uk
+curl -4 -X PUT --user "urbain@vaes.uk:$PASSWORD" https://box.bknguyen.org/admin/dns/custom/urbainvaes.com
diff --git a/bin/bin/wifi b/bin/bin/wifi
new file mode 100755
index 0000000..f06a3b8
--- /dev/null
+++ b/bin/bin/wifi
@@ -0,0 +1,7 @@
+#! /bin/bash
+
+network="Imperial-WPA"
+ssid=$(nmcli -t -f NAME connection show --active)
+if [[ "${ssid}" != "${network}" ]]; then
+ nmtui connect "${network}"
+fi
diff --git a/mutt/.mutt/muttrc b/mutt/.mutt/muttrc
index 654d5a3..74c26e3 100644
--- a/mutt/.mutt/muttrc
+++ b/mutt/.mutt/muttrc
@@ -4,7 +4,6 @@ set alias_file = ~/.mutt/alias
set header_cache = ~/.mutt/cache/headers
set message_cachedir = ~/.mutt/cache/bodies
set certificate_file = ~/.mutt/certificates
-set signature = ~/.mutt/signature
set mailcap_path = ~/.mutt/mailcap
set tmpdir = ~/.mutt/temp
@@ -17,6 +16,7 @@ source ~/.mutt/id_work
# General
set realname = "Urbain Vaes"
+set from = "Urbain Vaes"
set reverse_alias
set sort = reverse-date
set weed
diff --git a/ncmpcpp/config b/ncmpcpp/config
index df95395..aafe321 100644
--- a/ncmpcpp/config
+++ b/ncmpcpp/config
@@ -27,7 +27,7 @@ ncmpcpp_directory = "~/.ncmpcpp"
## set it in order to make tag editor and renaming files work properly
#
-mpd_host = "192.168.0.20"
+mpd_host = "192.168.0.71"
# mpd_host = "192.168.1.12"
#
mpd_port = "6600"
diff --git a/vifm/.vifm/colors/default.vifm b/vifm/.vifm/colors/default.vifm
index c3c72dd..9c4c70e 100644
--- a/vifm/.vifm/colors/default.vifm
+++ b/vifm/.vifm/colors/default.vifm
@@ -33,20 +33,20 @@
" highlight group cterm=style ctermfg=foreground_color ctermbg=background_color
-highlight Win cterm=none ctermfg=white ctermbg=black
+highlight Win cterm=none ctermfg=default ctermbg=default
highlight Directory cterm=bold ctermfg=cyan ctermbg=default
highlight Link cterm=bold ctermfg=yellow ctermbg=default
-highlight BrokenLink cterm=bold ctermfg=red ctermbg=default
+highlight BrokenLink cterm=bold ctermfg=123 ctermbg=default
highlight Socket cterm=bold ctermfg=magenta ctermbg=default
-highlight Device cterm=bold ctermfg=red ctermbg=default
+highlight Device cterm=bold ctermfg=123 ctermbg=default
highlight Fifo cterm=bold ctermfg=cyan ctermbg=default
highlight Executable cterm=bold ctermfg=green ctermbg=default
highlight Selected cterm=bold ctermfg=magenta ctermbg=default
-highlight CurrLine cterm=bold ctermfg=default ctermbg=blue
-highlight TopLine cterm=none ctermfg=black ctermbg=white
+highlight CurrLine cterm=bold ctermfg=default ctermbg=147
+highlight TopLine cterm=none ctermfg=default ctermbg=123
highlight TopLineSel cterm=bold ctermfg=black ctermbg=default
-highlight StatusLine cterm=bold ctermfg=black ctermbg=white
+highlight StatusLine cterm=bold ctermfg=black ctermbg=123
highlight WildMenu cterm=underline,reverse ctermfg=white ctermbg=black
-highlight CmdLine cterm=none ctermfg=white ctermbg=black
-highlight ErrorMsg cterm=none ctermfg=red ctermbg=black
-highlight Border cterm=none ctermfg=black ctermbg=white
+highlight CmdLine cterm=none ctermfg=green ctermbg=default
+highlight ErrorMsg cterm=none ctermfg=123 ctermbg=black
+highlight Border cterm=none ctermfg=black ctermbg=123
diff --git a/vifm/.vifm/colors/solarized.vifm b/vifm/.vifm/colors/solarized.vifm
index a792bd9..2c710f4 100644
--- a/vifm/.vifm/colors/solarized.vifm
+++ b/vifm/.vifm/colors/solarized.vifm
@@ -33,7 +33,7 @@ highlight Selected cterm=bold ctermfg=magenta ctermbg=default
highlight CurrLine cterm=bold ctermfg=default ctermbg=blue
highlight WildMenu cterm=underline,reverse ctermfg=white ctermbg=black
-highlight CmdLine cterm=none ctermfg=white ctermbg=black
+highlight CmdLine cterm=none ctermfg=white ctermbg=white
highlight ErrorMsg cterm=none ctermfg=red ctermbg=black
highlight Directory cterm=none ctermfg=cyan ctermbg=default
diff --git a/vifm/.vifm/vifmrc b/vifm/.vifm/vifmrc
index 117843c..f78e1eb 100644
--- a/vifm/.vifm/vifmrc
+++ b/vifm/.vifm/vifmrc
@@ -61,7 +61,7 @@ set noiec
" Selected color scheme
-colorscheme solarized.vifm
+colorscheme default.vifm
" The FUSE_HOME directory will be used as a root dir for all FUSE mounts.
" Unless it exists with write/exec permissions set, vifm will attempt to
diff --git a/vim/.vimrc b/vim/.vimrc
index 5e18bfa..8709521 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -41,7 +41,6 @@ Plug 'tommcdo/vim-exchange'
Plug 'tpope/vim-abolish'
Plug 'tpope/vim-commentary'
Plug 'tpope/vim-dispatch'
-Plug 'radenling/vim-dispatch-neovim'
Plug 'tpope/vim-eunuch'
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-obsession'
@@ -59,6 +58,8 @@ Plug 'vim-scripts/gmsh.vim'
if has("nvim")
Plug 'Shougo/deoplete.nvim'
Plug 'benekastah/neomake'
+ Plug 'radenling/vim-dispatch-neovim'
+ Plug 'jalvesaq/Nvim-R'
else
Plug 'Shougo/neocomplete.vim'
Plug 'scrooloose/syntastic'
@@ -219,7 +220,7 @@ let g:tex_flavor='latex'
"" Vim options
-set cindent
+set smartindent
set expandtab
set tabstop=4
set softtabstop=4
@@ -240,7 +241,7 @@ set smartcase
set ignorecase
set lazyredraw
set hidden
-set formatoptions+=orw
+" set formatoptions+=orw
silent! set breakindent
let &showbreak='--> '
set clipboard=unnamedplus