Compare commits
7 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
27539eff01 | ||
|
2a5daa6dda | ||
|
0b75eeb3ef | ||
|
d1b625e235 | ||
|
498ddd0739 | ||
|
59122c7b77 | ||
|
cec068a416 |
58
.nvimrc
58
.nvimrc
@ -1,14 +1,36 @@
|
||||
" Global settings
|
||||
syntax on
|
||||
set showcmd
|
||||
set ruler
|
||||
set wildmenu
|
||||
set lazyredraw
|
||||
set showmatch
|
||||
set mouse=a
|
||||
set nofoldenable
|
||||
set backupdir=~/.config/neovim/backup/
|
||||
set directory=~/.config/neovim/backup/
|
||||
set number
|
||||
set relativenumber
|
||||
|
||||
" Colors
|
||||
highlight LineNr ctermfg=cyan
|
||||
set t_Co=16
|
||||
highlight Keyword ctermfg=06
|
||||
highlight Define ctermfg=06
|
||||
highlight Comment ctermfg=03
|
||||
highlight Type ctermfg=08
|
||||
highlight Operator ctermfg=05
|
||||
highlight Identifier ctermfg=13
|
||||
highlight Constant ctermfg=11
|
||||
highlight Function ctermfg=01
|
||||
highlight Include ctermfg=06
|
||||
highlight Statement ctermfg=06
|
||||
highlight String ctermfg=03
|
||||
highlight Search ctermbg=14
|
||||
highlight NonText ctermfg=00
|
||||
highlight VertSplit ctermfg=08 cterm=none
|
||||
highlight LineNr ctermfg=07
|
||||
highlight Visual ctermbg=08 ctermfg=15
|
||||
|
||||
set fillchars+=vert:│
|
||||
|
||||
" Indent
|
||||
set tabstop=2
|
||||
@ -26,22 +48,46 @@ set rtp+=~/.config/neovim/bundle/Vundle.vim
|
||||
call vundle#begin('~/.config/neovim/bundle')
|
||||
|
||||
Plugin 'VundleVim/Vundle.vim'
|
||||
" Plugins
|
||||
Plugin 'kien/ctrlp.vim'
|
||||
Plugin 'itchyny/lightline.vim'
|
||||
" Languages
|
||||
Plugin 'kchmck/vim-coffee-script'
|
||||
Plugin 'fatih/vim-go'
|
||||
Plugin 'wting/rust.vim'
|
||||
Plugin 'godlygeek/tabular' " dependency for markdown
|
||||
Plugin 'plasticboy/vim-markdown'
|
||||
Plugin 'jgertm/nix.vim'
|
||||
|
||||
call vundle#end()
|
||||
filetype plugin indent on
|
||||
syntax on
|
||||
|
||||
" CtrlP
|
||||
|
||||
let g:ctrlp_map = '<c-p>'
|
||||
let g:ctrlp_cmd = 'CtrlP'
|
||||
|
||||
" StatusLine
|
||||
|
||||
" Markdown
|
||||
set laststatus=2
|
||||
set noshowmode
|
||||
let s:p = {'normal': {}, 'inactive': {},
|
||||
\'insert': {}, 'replace' : {},
|
||||
\'visual': {}, 'tabline' : {}}
|
||||
|
||||
let g:vim_markdown_folding_disabled=1
|
||||
let s:p.normal.left = [ [ 07, 14 ], [ 08, 00 ] ]
|
||||
let s:p.insert.left = [ [ 07, 05 ], [ 14, 00 ] ]
|
||||
let s:p.visual.left = [ [ 00, 03 ], [ 14, 00 ] ]
|
||||
let s:p.replace.left = [ [ 00, 02 ], [ 14, 00 ] ]
|
||||
let s:p.inactive.left = [ [ 12, 00 ], [ 15, 00 ] ]
|
||||
let s:p.tabline.left = [ [ 14, 00 ] ]
|
||||
let s:p.normal.right = [ [ 12, 00 ], [ 03, 00 ] ]
|
||||
let s:p.tabline.right = [ [ 12, 00 ], [ 03, 00 ] ]
|
||||
let s:p.inactive.right = [ [ 12, 00 ], [ 13, 00 ] ]
|
||||
let s:p.normal.middle = [ [ 12, 00 ] ]
|
||||
let s:p.inactive.middle = [ [ 12, 00 ] ]
|
||||
let s:p.tabline.middle = [ [ 14, 00 ] ]
|
||||
let s:p.tabline.tabsel = [ [ 14, 00 ] ]
|
||||
let s:p.normal.error = [ [ 00, 05 ] ]
|
||||
let s:p.normal.warning = [ [ 00, 02 ] ]
|
||||
|
||||
let g:lightline#colorscheme#default#palette = lightline#colorscheme#fill(s:p)
|
||||
|
@ -1,2 +0,0 @@
|
||||
#!/bin/sh
|
||||
rm -f /tmp/myip
|
4
bspwmrc
4
bspwmrc
@ -16,7 +16,7 @@ bspc monitor HDMI-0 -d 6 7 8 9
|
||||
# Set up bspwm theme
|
||||
bspc config border_width 2
|
||||
bspc window_gap 24
|
||||
bspc config -m DVI-I-0 top_padding 36
|
||||
bspc config -m DVI-I-0 top_padding 20
|
||||
bspc config focused_border_color '#858585'
|
||||
bspc config normal_border_color '#2e343D'
|
||||
bspc config split_ratio 0.52
|
||||
@ -25,4 +25,4 @@ bspc config gapless monocle true
|
||||
bspc config focus_follows_pointer true
|
||||
|
||||
# Show desktop background
|
||||
feh --no--fehbg --bg-center ~/Pictures/background.png
|
||||
feh --no-fehbg --bg-center ~/Pictures/background.png
|
||||
|
@ -109,6 +109,10 @@
|
||||
desktopManager.xterm.enable = false;
|
||||
desktopManager.default = "none";
|
||||
windowManager.default = "bspwm";
|
||||
displayManager.slim.theme = pkgs.fetchurl {
|
||||
url = "https://github.com/rnhmjoj/nix-slim/archive/0.2.0.tar.gz";
|
||||
sha256 = "08m6ks6crdyr02ll50gy3vpn3rzq6rp5jm2bli526r432xacdmj1";
|
||||
};
|
||||
};
|
||||
|
||||
mpd = {
|
||||
@ -139,7 +143,7 @@
|
||||
};
|
||||
|
||||
transmission = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
settings = {
|
||||
download-dir = "/mnt/Dati/Download/";
|
||||
};
|
||||
|
5
install
5
install
@ -28,6 +28,11 @@ cp ./.Xresources ~/
|
||||
mkdir -p ~/.config/neovim/backup
|
||||
cp .nvimrc ~/
|
||||
|
||||
if [ ! -d "~/.config/neovim/bundle" ]; then
|
||||
echo "Installing Vundle for NeoVim"
|
||||
git clone https://github.com/VundleVim/Vundle.vim.git ~/.config/neovim/bundle/Vundle.vim
|
||||
fi
|
||||
|
||||
# Tmux
|
||||
|
||||
cp .tmux.conf ~/
|
||||
|
@ -2,9 +2,14 @@
|
||||
|
||||
echo "Installing prezto"
|
||||
|
||||
if [ -z "$ZDOTDIR" ]; then
|
||||
echo "ZDOTDIR not set."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
mkdir -p $ZDOTDIR
|
||||
|
||||
git clone --recursive https://github.com/fazo96/prezto.git "${ZDOTDIR:-$HOME}/.zprezto"
|
||||
git clone --recursive https://maxwell.ydns.eu:44333/fazo96/prezto.git "${ZDOTDIR:-$HOME}/.zprezto"
|
||||
|
||||
setopt EXTENDED_GLOB
|
||||
for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do
|
||||
|
@ -92,5 +92,5 @@ buildBar () {
|
||||
done
|
||||
}
|
||||
|
||||
buildBar | lemonbar -p -g "1872x20+24+8" -B "$BLACK" -F "$GREY" -f -gohu-gohufont-medium-r-normal--14-100-100-100-c-80-iso10646-1
|
||||
buildBar | lemonbar -p -g "1920x20" -B "$BLACK" -F "$GREY" -f -gohu-gohufont-medium-r-normal--14-100-100-100-c-80-iso10646-1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user