alias vpnup='nmcli connection up pinovpn'
alias drill-srs='drill-srs 2>/dev/null'
alias scrkey='screenkey -t 2.5 --mods-mode emacs -s small -p fixed -g $(slop -n -f '%g')'
+alias mdp='export TERM=st; mdp'
+alias R='R --vanilla'
+alias fzf="fzf --color=16 --header=peee --info=inline --preview='echo {}; file -b {}; echo =-=-=-=-=-=-=-=-=-=-=-=-=-=; head -$LINES {}'"
alias v="$EDITOR"
alias z="$READER"
set number
set relativenumber
set incsearch
-set smartcase
set encoding=utf-8
set tabstop=4
set shiftwidth=4
set expandtab
+set ignorecase
+set smartcase
set nrformats+=alpha "inc/dec alpha
set hidden
set statusline+=\ %l/%L:%c\ |
set statusline+=%1*\ |
+" Tab line
+hi TabLineSel cterm=Bold ctermfg=Yellow
+hi TabLine cterm=None ctermfg=Grey ctermbg=Black
+hi TabLineFill cterm=None ctermbg=Black
+
" Templates
augroup templates
autocmd BufNewFile *.tex 0r ~/.vim/templates/skeleton.tex
Plug 'sirver/ultisnips'
Plug 'lervag/vimtex'
Plug 'PietroPate/vim-tex-conceal'
-Plug 'jiangmiao/auto-pairs'
+" Plug 'jiangmiao/auto-pairs'
Plug 'tpope/vim-commentary'
Plug 'rlue/vim-barbaric'
-Plug 'ap/vim-css-color'
+Plug 'ap/vim-buftabline'
call plug#end()
" \ '-shell-escape',
" \],
-" Ctrlp
-" let g:ctrlp_cmd='CtrlPTag'
-
-" Lf
-" let g:lf_replace_netrw = 1 " weird behavior rn
-
" vim-barbaric
let g:barbaric_ime = 'ibus'
set ttimeoutlen=0
+" buftabline
+let g:buftabline_show = 1
+
" Run after plugins
autocmd FileType * set formatoptions-=o
hi SpellLocal ctermfg=14 ctermbg=0 cterm=underline
hi PmenuSbar ctermbg=8
hi PmenuThumb ctermbg=0
-hi TabLine cterm=underline ctermfg=0 ctermbg=7
-hi TabLineSel cterm=bold
-hi TabLineFill cterm=reverse
hi CursorColumn ctermbg=7
hi CursorLine cterm=underline
hi MatchParen cterm=NONE ctermfg=0 ctermbg=14
hi Ignore ctermfg=15
hi Error ctermfg=15 ctermbg=9
hi Todo ctermfg=0 ctermbg=11
-hi Comment ctermfg=7
+hi Comment ctermfg=DarkGrey
hi lineNr ctermfg=DarkGrey
hi Folded ctermfg=0
fi
# bg
-feh --bg-center "$(ls -d $HOME/Downloads/wallpapers/active/* | sort -R | tail -n1)"
-
+setwallpaper
# start some daemons
dwmblocks &
tiramisu -j | notify &
acpi_listen &
-redshift -l 55.7:12.6 -t 3000:3000 -g 0.85 -m randr -v &
+redshift -m randr:crtc=0 -O 3000
+# redshift -l 55.7:12.6 -t 3000:3000 -g 1 -m randr -v &
sxhkd &
mpd &
mpd-change &
--- /dev/null
+#!/bin/sh
+
+xrandr --newmode "1920x1080_60.00" 172.80 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync
+xrandr --addmode VGA1 "1920x1080_60.00"
+xrandr --auto --output VGA1 --mode 1920x1080_60.00 --right-of LVDS1
+
+# redshift
+redshift -x
+redshift -m randr:crtc=0 -O 3000
+redshift -m randr:crtc=1 -O 5000
+
+# need to reset wallpaper too
+setwallpaper