fix sway font and add nicer nvim cursorline

This commit is contained in:
Arti Zirk 2019-08-21 13:48:25 +03:00
parent c19f359ba8
commit 218d0f4dd3
2 changed files with 8 additions and 3 deletions

View File

@ -2,6 +2,10 @@
set scrolloff=3
set ignorecase
set cursorline
hi cursorline cterm=none term=none
autocmd WinEnter * setlocal cursorline
autocmd WinLeave * setlocal nocursorline
highlight CursorLine guibg=#303000 ctermbg=234
" configure reasonable swap file
" https://begriffs.com/posts/2019-07-19-history-use-vim.html?hn=3#backups-and-undo

View File

@ -15,13 +15,14 @@ set $up k
set $right l
# Default font
set $font "Terminus (TTF) Medium 12"
font pango:Terminus (TTF) Medium 12
# terminus-font-otb
set $font "Terminus 12"
font pango:Terminus 12
# Background image
set $bg "~/Pildid/background.png"
# Uses forked swaylock https://github.com/mortie/swaylock-effects
set $lockcmd swaylock --clock --datestr "%Y-%m-%d" --indicator --image $bg --tiling --hide-keyboard-layout --font "Terminus (TTF) Medium" --font-size 28 --text-color ffffff --inside-color 435366 --separator-color 435366 --ring-color 435366 --line-uses-ring
set $lockcmd swaylock --clock --datestr "%Y-%m-%d" --indicator --image $bg --tiling --hide-keyboard-layout --font "Terminus" --font-size 28 --text-color ffffff --inside-color 435366 --separator-color 435366 --ring-color 435366 --line-uses-ring
# Your preferred terminal emulator
set $term gnome-terminal