Add nvim script, update kitty config, remove Xdefaults

This commit is contained in:
Amarpreet Minhas 2023-07-27 21:33:16 -04:00
parent ec1c6bfeb1
commit b052916dbd
3 changed files with 16 additions and 55 deletions

View file

@ -1,52 +0,0 @@
!-- Xft settings -- !
Xft.dpi: 180
Xft.rgba: rgb
Xft.hinting: true
Xft.hintstyle: hintfull
Xft.antialiasing: false
! -- Fonts -- !
urxvt.font:xft:DejaVu Sans Mono:size=8
urxvt.boldfont:xft:DejaVu Sans Mono:size=8
! -- URxvt settings -- !
urxvt*geometry: 80x30
!urxvt.font: 9x15
!urxvt*background: #212629
urxvt*background: #000000
urxvt*foreground: #FFFFFF
urxvt*scrollBar: false
urxvt*matcher.button: 1
urxvt*cursorBlink: true
urxvt*cursorColor: #c1c8c9
urxvt.transparent: false
urxvt*allow_bold: true
urxvt*inheritPixmap: false
! -- URxvt color definitions -- !
!black
urxvt*color0: #111313
urxvt*color8: #424446
!red
urxvt*color1: #9e6b71
urxvt*color9: #b69094
!green
urxvt*color2: #719e6b
urxvt*color10: #94b690
!yellow
urxvt*color3: #9e986c
urxvt*color11: #b5b18f
!blue
urxvt*color4: #6c8b9e
urxvt*color12: #90a7b6
!magenta
urxvt*color5: #986b9e
urxvt*color13: #b290b6
!cyan
urxvt*color6: #6b9e98
urxvt*color14: #90b6b3
!white
urxvt*color7: #b8baba
urxvt*color15: #cdcfce

View file

@ -1,4 +1,4 @@
font_size 12.0 font_size 14.0
background #000000 background #000000
foreground #D3D3D3 foreground #D3D3D3
selection_background #2f3333 selection_background #2f3333
@ -20,6 +20,6 @@ color6 #6b9e98
color14 #90b6b3 color14 #90b6b3
color7 #b8baba color7 #b8baba
color15 #cdcfce color15 #cdcfce
font_family DejaVu Sans Mono font_family DejaVuSansM Nerd Font Mono
bold_font DejaVu Sans Mono bold_font DejaVuSansM Nerd Font Mono Bold
scrollback_lines 20000 scrollback_lines 20000

13
scripts/configure_nvim.sh Executable file
View file

@ -0,0 +1,13 @@
#!/bin/bash
# download dejavu nerd-fonts
FONT_DIR=${HOME}/.local/share/fonts/
mkdir -p ${FONT_DIR}
wget -qO- https://github.com/ryanoasis/nerd-fonts/releases/download/v3.0.2/DejaVuSansMono.tar.xz | tar -Jxv -C ${FONT_DIR}
fc-cache -fv
git clone https://git.minhas.io/Asara/nvim ${HOME}/.config/nvim
sudo update-alternatives --install /usr/bin/vi vi /usr/bin/nvim 60
sudo update-alternatives --install /usr/bin/vim vim /usr/bin/nvim 60
sudo update-alternatives --install /usr/bin/editor editor /usr/bin/nvim 60