organize into folders for each device.

This commit is contained in:
pim-wtf
2022-04-24 07:44:06 +02:00
parent a7dfd262af
commit cc4d0b5da3
32 changed files with 473 additions and 121 deletions

54
common/nvim/init.vim Normal file
View File

@ -0,0 +1,54 @@
" ________
" | _____ \
" | | _/ / Pim Nelissen
" | | /__/ https://pim.wtf/
" | |
" \_|
" Neovim configuration file.
" load all plugins.
call plug#begin('~/.local/share/nvim/plugged')
Plug 'vimsence/vimsence'
Plug 'lervag/vimtex'
Plug 'python-mode/python-mode'
Plug 'rust-lang/rust.vim'
Plug 'Gavinok/vim-troff'
Plug 'vim-airline/vim-airline'
Plug 'Yggdroot/indentLine'
Plug 'vim-airline/vim-airline-themes'
call plug#end()
" configurations.
set number relativenumber
set tabstop=8 softtabstop=0 expandtab shiftwidth=4 smarttab
autocmd BufRead *.md set spell spelllang=en_uk
highlight LineNr ctermfg=8
" airline configuration.
let g:airline_theme='minimalist'
let g:airline_powerline_fonts=1
let g:airline#extensions#tabline#enabled = 1
let g:airline#extensions#wordcount#enabled=1
" vimtex configuration.
let g:tex_flavor='latex'
let g:vimtex_view_method='zathura'
let g:vimtex_quickfix_mode=0
let g:vimtex_view_general_viewer='zathura'
" ignore some dumb PEP8 warnings.
let g:pymode_lint_ignore="E501,W"
let g:pymode_lint_ignore="E302,W"
" Set color of PEP8 line end column to grey.
autocmd BufRead *.py hi ColorColumn ctermbg=8
" other plugins configuration
let g:indentLine_leadingSpaceEnabled=1
let g:indentLine_leadingSpaceChar = '⬞'
let g:indentLine_fileTypeExclude = ['tex', 'markdown']
" Custom commands
" Uses F4 to find and replace every instance of the word under the cursor.
nnoremap <F4> :%s/<c-r><c-w>/<c-r><c-w>/gc<c-f>$F/i

1
common/rofi/config.rasi Normal file
View File

@ -0,0 +1 @@
@theme "~/.config/rofi/themes/mytheme.rasi"

View File

@ -0,0 +1,106 @@
/*******************************************************************************
* ROFI VERTICAL THEME USING THE NORD COLOR PALETTE
* User : LR-Tech
* Theme Repo : https://github.com/lr-tech/rofi-themes-collection
* Nord Project Repo : https://github.com/arcticicestudio/nord
*******************************************************************************/
* {
font: "RobotoMono 11";
nord0: #222222;
nord1: #3b4252;
nord2: #434c5e;
nord3: #4c566a;
nord4: #ffffff;
nord5: #e5e9f0;
nord6: #eceff4;
nord7: #8fbcbb;
nord8: #888;
nord9: #81a1c1;
nord10: #5e81ac;
nord11: #bf616a;
nord12: #d08770;
nord13: #ebcb8b;
nord14: #a3be8c;
nord15: #b48ead;
background-color: transparent;
text-color: @nord4;
accent-color: @nord8;
margin: 2px;
padding: 0px;
spacing: 0px;
}
window {
background-color: @nord0;
border-color: @accent-color;
location: center;
width: 440px;
y-offset: -220px;
border: 2px;
}
inputbar {
padding: 8px 12px;
spacing: 12px;
children: [ prompt, entry ];
}
prompt, entry, element-text, element-icon {
vertical-align: 0.5;
}
prompt {
text-color: @accent-color;
}
listview {
lines: 8;
columns: 1;
fixed-height: false;
}
element {
padding: 8px;
spacing: 8px;
}
element normal urgent {
text-color: @nord13;
}
element normal active {
text-color: @accent-color;
}
element selected {
text-color: @nord0;
}
element selected normal {
background-color: @accent-color;
}
element selected urgent {
background-color: @nord13;
}
element selected active {
background-color: @nord8;
}
element-icon {
size: 0.75em;
}
element-text {
text-color: inherit;
}

13
common/zathura/zathurarc Normal file
View File

@ -0,0 +1,13 @@
# ________
# | _____ \
# | | _/ / Pim Nelissen
# | | /__/ https://pim.wtf/
# | |
# \_|
# Zathura config.
set recolor true
set recolor-lightcolor \#191919
set default-bg \#191919
set guioptions none

1746
common/zsh/.zcompdump Normal file

File diff suppressed because it is too large Load Diff

51
common/zsh/.zshrc Normal file
View File

@ -0,0 +1,51 @@
# ________
# | _____ \
# | | _/ / Pim Nelissen
# | | /__/ https://pim.wtf/
# | |
# \_|
# Zshell configuration.
# Terminal prompt in minimalist format.
PS1="%F{cyan}%~%f %F{white}»%f "
# History settings.
HISTFILE=~/.cache/zsh/histfile
HISTSIZE=1000
SAVEHIST=2500
export GPG_TTY=$(tty)
# Load autocompletion & include hidden dotfiles.
zstyle :compinstall filename '/home/pim/.zshrc'
zstyle ':completion:*' menu select
zmodload zsh/complist
autoload -Uz compinit
compinit
_comp_options+=(globdots)
# Vi mode toggle.
bindkey -v
# Vi keys for the tab completion menu.
bindkey -M menuselect 'h' vi-backward-char
bindkey -M menuselect 'k' vi-up-line-or-history
bindkey -M menuselect 'l' vi-forward-char
bindkey -M menuselect 'j' vi-down-line-or-history
bindkey -v '^?' backward-delete-char
# Aliases.
alias ls='ls --color=auto'
alias ll='ls -l --color=auto'
alias vim='nvim'
alias top='htop'
# Power aliases.
alias shutdown='sudo shutdown -h now'
alias sleep='betterlockscreen -s -l dim && sudo zzz'
alias reboot='sudo reboot'
# Load extensions.
source ~/.config/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh