Various changes

- [mail] Update the aerc config
- [vim] Add plugins, enable airline tabline, highlight cursor row
- [xmobar] Fix gap
This commit is contained in:
Adam Cooper 2023-08-04 18:47:21 -04:00
parent d8e199e505
commit 8f92d4511b
4 changed files with 15 additions and 9 deletions

View file

@ -55,7 +55,8 @@ pinned-tab-marker='`'
# Describes the format string to use for the directory list
#
# Default: %n %>r
dirlist-format=%n %>r
dirlist-left = {{.Folder}}
dirlist-right = {{if .Unread}}{{humanReadable .Unread}}/{{end}}{{if .Exists}}{{humanReadable .Exists}}{{end}}
# List of space-separated criteria to sort the messages by, see *sort*
# command in *aerc*(1) for reference. Prefixing a criterion with "-r "
@ -182,7 +183,8 @@ image/*=catimg -w $(tput cols) -
#
# Executed when a new email arrives in the selected folder
new-email=exec notify-send "New email from %n" "%s"
# Deprecated as of 2023-07-28
# new-email=exec notify-send "New email from %n" "%s"
[templates]
# Templates are used to populate email bodies automatically.
@ -203,3 +205,6 @@ quoted-reply=quoted_reply
#
# default: forward_as_body
forwards=forward_as_body
[hooks]
mail-received=exec notify-send "New email from $AERC_FROM_NAME" "$AERC_SUBJECT"

View file

@ -8,3 +8,4 @@ Ukraine election
Ukraine
leak
leak
wolff

View file

@ -21,6 +21,9 @@ set number
" Default: split right
set splitright
" Highlight cursor line
set cursorline
" Allow hidden buffers, don't limit to one file per window/split
set hidden
@ -75,10 +78,9 @@ endif
call plug#begin('~/.vim/plugged')
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
" Plug 'edkolev/tmuxline.vim'
" Plug 'christoomey/vim-tmux-navigator'
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'
Plug 'tpope/vim-fugitive'
Plug 'dense-analysis/ale'
Plug 'Valloric/YouCompleteMe'
Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
@ -90,10 +92,10 @@ Plug 'Quramy/tsuquyomi'
Plug 'rust-lang/rust.vim'
Plug 'neovimhaskell/haskell-vim'
Plug 'vim-scripts/indentpython.vim'
" Plug 'severij/vadelma'
Plug 'dracula/vim', { 'as': 'dracula' }
Plug 'tpope/vim-surround'
Plug 'mattn/emmet-vim'
Plug 'kovisoft/slimv'
call plug#end()
" Tsuquyomi
@ -101,8 +103,8 @@ autocmd filetype typescript nmap <buffer> <Leader>t : <C-u>echo tsuquyomi#hint()
" Airline
let g:airline_powerline_fonts = 1
" let g:airline_theme = 'light'
let g:airline#extensions#tmuxline#enabled = 0
let g:airline#extensions#tabline#enabled = 1
" ALE
let g:ale_linters = {
@ -128,8 +130,6 @@ filetype plugin indent on
syntax enable
" Set color scheme
" set background=light
" colorscheme vadelma
set background=dark
colorscheme dracula

View file

@ -3,7 +3,7 @@ Config { overrideRedirect = False
, additionalFonts = ["JoyPixels 24"]
, bgColor = "#ffff99"
, fgColor = "#191970"
, position = TopSize L 89 28
, position = TopSize L 88 28
, commands = [ Run WeatherX "KLGA"
[ ("clear", "clear")
, ("sunny", "sunny")