about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNguyễn Gia Phong <vn.mcsinyx@gmail.com>2019-03-26 22:34:20 +0700
committerNguyễn Gia Phong <vn.mcsinyx@gmail.com>2019-03-26 22:34:20 +0700
commit99f6a9203fce6794d335577754c8223d477a6a3d (patch)
treebe8c76d63246dee7dc6156f9d15d46e15287c0a1
parent90848e777c435328acf4b81773d8d7684bfcf21f (diff)
downloaddotfiles-99f6a9203fce6794d335577754c8223d477a6a3d.tar.gz
Update 2019-03-26
-rw-r--r--awesome/.config/awesome/rc.lua9
-rw-r--r--awesome/.config/awesome/themes/gruvbox-dark/theme.lua2
-rw-r--r--debian/.Xresources-dark2
-rw-r--r--debian/.profile3
-rw-r--r--emacs/.emacs.d/init.el5
-rwxr-xr-xvim/.vim/gvimrc7
-rwxr-xr-xvim/.vim/vimrc13
-rw-r--r--zathura/.config/zathura/zathurarc10
8 files changed, 30 insertions, 21 deletions
diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua
index 2bdc2be..93fe5a8 100644
--- a/awesome/.config/awesome/rc.lua
+++ b/awesome/.config/awesome/rc.lua
@@ -55,7 +55,6 @@ local ranger = "x-terminal-emulator -e ranger"
 local python3 = "x-terminal-emulator -e python3"
 local perl6 = "x-terminal-emulator -e perl6"
 local guile = "x-terminal-emulator -e guile"
-local mutt = "x-terminal-emulator -e mutt"
 local slock_suspend = "slock systemctl --ignore-inhibitors suspend"
 
 -- Audacious media player
@@ -452,10 +451,14 @@ local globalkeys = awful.util.table.join(
             {description = "open Firefox", group = "launcher"}),
   awful.key({modkey, "Shift"}, "f", spawner"torbrowser-launcher",
             {description = "open Tor Browser", group = "launcher"}),
+  awful.key({modkey}, "t", spawner"thunderbird",
+            {description = "open Thunderbird", group = "launcher"}),
+  awful.key({modkey}, "m", spawner"moodledesktop",
+            {description = "open Moodle Desktop", group = "launcher"}),
   awful.key({modkey}, "r", spawner(ranger),
             {description = "open ranger file manager", group = "launcher"}),
   awful.key({modkey, "Shift"}, "r", spawner(ranger .. " Documents/B1"),
-            {description = "open ranger file manager", group = "launcher"}),
+            {description = "open B1", group = "launcher"}),
   awful.key({modkey}, "p", spawner(python3),
             {description = "open Python 3 interpreter", group = "launcher"}),
   awful.key({modkey, "Shift"}, "p", spawner(perl6),
@@ -464,8 +467,6 @@ local globalkeys = awful.util.table.join(
             {description = "open Guile interpreter", group = "launcher"}),
   awful.key({modkey}, "z", spawner"zathura",
             {description = "open zathura document viewer", group = "launcher"}),
-  awful.key({modkey}, "m", spawner(mutt),
-            {description = "open mutt mail client", group = "launcher"}),
   awful.key({modkey}, "d", spawner"diodon",
             {description = "open clipboard manager", group = "launcher"}),
   awful.key({modkey}, "s", spawner"slock",
diff --git a/awesome/.config/awesome/themes/gruvbox-dark/theme.lua b/awesome/.config/awesome/themes/gruvbox-dark/theme.lua
index ca7e078..4fc577c 100644
--- a/awesome/.config/awesome/themes/gruvbox-dark/theme.lua
+++ b/awesome/.config/awesome/themes/gruvbox-dark/theme.lua
@@ -38,7 +38,7 @@ theme.hotkeys_fg    = theme.fg_normal
 
 theme.useless_gap   = 0
 theme.border_width  = 2
-theme.border_normal = theme.bg_focus
+theme.border_normal = "#353535"
 theme.border_focus  = "#b16286"
 theme.border_marked = "#cc241d"
 
diff --git a/debian/.Xresources-dark b/debian/.Xresources-dark
index 50b6269..9cadf83 100644
--- a/debian/.Xresources-dark
+++ b/debian/.Xresources-dark
@@ -22,4 +22,4 @@
 *cursorBlink: false
 *jumpScroll:  true
 URxvt.font:   xft:Latin Modern Mono:size=12
-URxvt.termName: rxvt
+URxvt.termName: rxvt-unicode-256color
diff --git a/debian/.profile b/debian/.profile
index 068d63b..ac7e0b9 100644
--- a/debian/.profile
+++ b/debian/.profile
@@ -25,3 +25,6 @@ fi
 
 # OPAM configuration
 . /home/cnx/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true
+
+# Gruvbox colorscheme
+source "$HOME/.vim/plugged/gruvbox/gruvbox_256palette.sh"
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el
index 7046c08..ae2890e 100644
--- a/emacs/.emacs.d/init.el
+++ b/emacs/.emacs.d/init.el
@@ -27,7 +27,7 @@
  '(ansi-color-names-vector
    ["#2e3436" "#a40000" "#4e9a06" "#c4a000" "#204a87" "#5c3566" "#729fcf" "#eeeeec"])
  '(column-number-mode t)
- '(custom-enabled-themes (quote (tango)))
+ '(custom-enabled-themes (quote (tango wheatgrass)))
  '(erc-nick "cnx")
  '(package-selected-packages
    (quote
@@ -62,3 +62,6 @@
 (add-hook 'pdf-tools-enabled-hook 'auto-revert-mode)
 
 (when window-system (set-frame-size (selected-frame) 80 25))
+(if (display-graphic-p)
+    (enable-theme 'tango)
+  (enable-theme 'wheatgrass))
diff --git a/vim/.vim/gvimrc b/vim/.vim/gvimrc
index 3f43115..cdefc17 100755
--- a/vim/.vim/gvimrc
+++ b/vim/.vim/gvimrc
@@ -1,12 +1,5 @@
 runtime ftplugin/man.vim
 nmap K :Man <cword><CR>
-set number relativenumber lazyredraw
 set guifont=Latin\ Modern\ Mono\ 12
 set guioptions=Pc
 set guicursor+=a:blinkon0
-if has("patch-7.4.710")
-  set listchars+=space:·,tab:\ \ 
-endif
-set background=dark
-colorscheme gruvbox
-autocmd FileType python syntax keyword pythonBoolean False True None
diff --git a/vim/.vim/vimrc b/vim/.vim/vimrc
index b0329de..40c00db 100755
--- a/vim/.vim/vimrc
+++ b/vim/.vim/vimrc
@@ -4,9 +4,11 @@ set directory=~/.cache/vim/swap
 set backupdir=~/.cache/vim/backup
 set viminfo+=n~/.cache/vim/viminfo
 set clipboard=exclude:cons\|linux autochdir
-set showcmd noshowmode ruler wildmenu confirm
+set showcmd noshowmode ruler wildmenu confirm number relativenumber
 set nostartofline
-set list listchars+=tab:├─
+if has("patch-7.4.710")
+  set list listchars+=space:·,tab:\ \ 
+endif
 set tabstop=8 expandtab shiftwidth=2 softtabstop=-1 smarttab
 set dictionary=/usr/share/dict/words
 set keymap=vietnamese-telex imdisable iminsert=0 imsearch=-1
@@ -17,6 +19,8 @@ autocmd BufNewFile,BufRead *.PAS setlocal filetype=pascal
 autocmd FileType c,h,go setlocal cindent cinoptions=(0 noexpandtab shiftwidth=8
 autocmd FileType rst setlocal shiftwidth=3
 autocmd FileType css,javascript,python,perl6 setlocal shiftwidth=4
+autocmd FileType python syntax keyword pythonBoolean False True None
+let g:gruvbox_italic=1
 let g:jedi#popup_on_dot = 0
 let g:jedi#popup_select_first = 0
 let g:jedi#show_call_signatures = 2
@@ -27,6 +31,11 @@ map Q gq
 call plug#begin('~/.vim/plugged')
 Plug 'https://github.com/morhetz/gruvbox.git'
 Plug 'https://github.com/tpope/vim-abolish.git'
+Plug 'https://github.com/drmikehenry/vim-fontsize.git'
 Plug 'https://github.com/lervag/vimtex.git', {'for': 'tex'}
 Plug 'https://github.com/kovisoft/slimv', {'for': 'lisp'}
 call plug#end()
+
+set t_Co=256
+set background=dark
+colorscheme gruvbox
diff --git a/zathura/.config/zathura/zathurarc b/zathura/.config/zathura/zathurarc
index 6e5b0be..315dc0b 100644
--- a/zathura/.config/zathura/zathurarc
+++ b/zathura/.config/zathura/zathurarc
@@ -19,17 +19,17 @@ set statusbar-bg \#504945
 set statusbar-fg \#ebdbb2
 set adjust-open width
 set incremental-search false
-set highlight-color \#3c3836
-set highlight-active-color \#ebdbb2
+set highlight-color \#b16286
+set highlight-active-color \#689d6a
 set recolor true
 set recolor-lightcolor \#1d2021
 set recolor-darkcolor \#ebdbb2
 set render-loading-bg \#282828
 set render-loading-fg \#ebdbb2
 set index-bg \#282828
-set index-fg \#b8bb26
-set index-active-bg \#282828
-set index-active-fg \#98971a
+set index-fg \#98971a
+set index-active-bg \#98971a
+set index-active-fg \#282828
 set guioptions cs
 set show-recent 0
 set smooth-scroll true