Browse Source

fix sway font and add nicer nvim cursorline

master
Arti Zirk 5 years ago
parent
commit
218d0f4dd3
  1. 4
      .config/nvim/init.vim
  2. 7
      .config/sway/config

4
.config/nvim/init.vim

@ -2,6 +2,10 @@ @@ -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

7
.config/sway/config

@ -15,13 +15,14 @@ set $up k @@ -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

Loading…
Cancel
Save