From 218d0f4dd3a3bf3de14d1f9ea91975eb51fe316d Mon Sep 17 00:00:00 2001 From: Arti Zirk Date: Wed, 21 Aug 2019 13:48:25 +0300 Subject: [PATCH] fix sway font and add nicer nvim cursorline --- .config/nvim/init.vim | 4 ++++ .config/sway/config | 7 ++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index a41c778..67fd370 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -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 diff --git a/.config/sway/config b/.config/sway/config index 7d96661..39350a9 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -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