feat(neovide): fix scaling issues

This commit is contained in:
Maciej Jur 2024-01-17 18:35:10 +01:00
parent fa1433faec
commit 898271a3ad
Signed by: kamov
GPG key ID: 191CBFF5F72ECAFD
2 changed files with 2 additions and 3 deletions

View file

@ -31,8 +31,8 @@ export GPG_TTY=$(tty)
# Configure editor
export VISUAL="$(command -v nvim 2>/dev/null)"
export EDITOR="$(command -v nvim 2>/dev/null || command -v vim 2>/dev/null || command -v nano)"
[ -x "$(command -v nvim 2> /dev/null)" ] && alias vim='nvim'
[ -x "$(command -v neovide 2> /dev/null)" ] && alias nvim='neovide'
[ -x "$(command -v nvim 2> /dev/null)" ] && alias vim='nvim'
[ -x "$(command -v neovide 2> /dev/null)" ] && alias nvim='WINIT_X11_SCALE_FACTOR=1.0 neovide'
# ghcup (Haskell)
[ -f "$HOME/.ghcup/env" ] && source "$HOME/.ghcup/env" # ghcup-env

View file

@ -1,5 +1,4 @@
local options = {
scale_factor = 0.75,
scroll_animation_far_lines = 100,
scroll_animation_length = 0.05,
cursor_animation_length = 0.05,