another cool update
This commit is contained in:
parent
290247d424
commit
2d1191a092
10 changed files with 144 additions and 40 deletions
|
@ -1,15 +1,31 @@
|
||||||
font:
|
font:
|
||||||
normal:
|
normal:
|
||||||
family: JetBrains Mono Nerd Font
|
family: JetBrains Mono Nerd Font
|
||||||
|
# family: SF Mono
|
||||||
|
# family: Roboto Mono
|
||||||
|
# family: Monocraft
|
||||||
|
# family: Scientifica
|
||||||
style: Regular
|
style: Regular
|
||||||
bold:
|
bold:
|
||||||
family: JetBrains Mono Nerd Font
|
family: JetBrains Mono Nerd Font
|
||||||
|
# family: SF Mono
|
||||||
|
# family: Roboto Mono
|
||||||
|
# family: Monocraft
|
||||||
|
# family: Scientifica
|
||||||
style: Bold
|
style: Bold
|
||||||
italic:
|
italic:
|
||||||
family: JetBrains Mono Nerd Font
|
family: JetBrains Mono Nerd Font
|
||||||
|
# family: SF Mono
|
||||||
|
# family: Roboto Mono
|
||||||
|
# family: Monocraft
|
||||||
|
# family: Scientifica
|
||||||
style: Italic
|
style: Italic
|
||||||
bold_italic:
|
bold_italic:
|
||||||
family: JetBrains Mono Nerd Font
|
family: JetBrains Mono Nerd Font
|
||||||
|
# family: SF Mono
|
||||||
|
# family: Roboto Mono
|
||||||
|
# family: Monocraft
|
||||||
|
# family: Scientifica
|
||||||
style: Bold Italic
|
style: Bold Italic
|
||||||
|
|
||||||
size: 11
|
size: 11
|
||||||
|
@ -22,7 +38,7 @@ window:
|
||||||
padding:
|
padding:
|
||||||
x: 7
|
x: 7
|
||||||
y: 7
|
y: 7
|
||||||
# opacity: 0.95
|
opacity: 0.70
|
||||||
|
|
||||||
mouse:
|
mouse:
|
||||||
hide_when_typing: true
|
hide_when_typing: true
|
||||||
|
@ -101,8 +117,10 @@ colors:
|
||||||
white: '#a89984'
|
white: '#a89984'
|
||||||
|
|
||||||
bright:
|
bright:
|
||||||
black: '#928374'
|
# black: '#928374'
|
||||||
|
black: '#7c6f64'
|
||||||
red: '#fb4934'
|
red: '#fb4934'
|
||||||
|
# red: '#fe8019'
|
||||||
green: '#b8bb26'
|
green: '#b8bb26'
|
||||||
yellow: '#fabd2f'
|
yellow: '#fabd2f'
|
||||||
blue: '#83a598'
|
blue: '#83a598'
|
||||||
|
|
|
@ -53,18 +53,18 @@ alias ed='fzf --height=15 --layout=reverse | sed "s/^/\"/g;s/$/\"/g" | xargs -ro
|
||||||
alias dj='python manage.py'
|
alias dj='python manage.py'
|
||||||
alias smci='sudo make clean install'
|
alias smci='sudo make clean install'
|
||||||
alias smi='sudo make install'
|
alias smi='sudo make install'
|
||||||
alias lib='xrandr --output HDMI-A-0 --auto --output eDP --off && xset r rate 300 50 && feh --bg-fill ~/git/wallpapers-exorcist/gruvbox/volcano-landscape.jpg'
|
alias lib='xrandr --output HDMI-A-0 --auto --output eDP --off && xset r rate 300 50 && feh --bg-fill ~/git/wallpapers-exorcist/gruvbox/mountains-2.jpg && xmodmap ~/.Xmodmap'
|
||||||
alias nolib='xrandr --output HDMI-A-0 --off --output eDP --auto'
|
alias nolib='xrandr --output HDMI-A-0 --off --output eDP --auto && feh --bg-fill ~/git/wallpapers-exorcist/gruvbox/mountains-2.jpg'
|
||||||
|
alias hgrep='history | grep'
|
||||||
alias keys='xset r rate 300 50'
|
alias keys='xset r rate 300 50'
|
||||||
alias gits='git status'
|
alias gits='git status'
|
||||||
|
alias mac="rm -rf __MACOSX/; rm \$(find . -name '.DS_Store')"
|
||||||
|
alias super='xmodmap -e "remove mod1 = Alt_L"; xmodmap -e "remove mod4 = Super_L"; xmodmap -e "add mod1 = Super_L"; xmodmap -e "add mod4 = Alt_L"'
|
||||||
|
alias make-kernel='sudo genkernel --kernel-config=/proc/config.gz all && sudo grub-mkconfig -o /boot/grub/grub.cfg'
|
||||||
|
|
||||||
# bash navigation
|
# bash navigation
|
||||||
alias aa='vim ~/.bash/01-aliases.bash; . ~/.bash_profile'
|
alias aa='vim ~/.bash/01-aliases.bash; . ~/.bash_profile'
|
||||||
|
|
||||||
s() {
|
|
||||||
find . -type f -exec grep ${1} {} \;
|
|
||||||
}
|
|
||||||
|
|
||||||
ssh-pixel() {
|
ssh-pixel() {
|
||||||
ssh -p 8022 uO_14O@${1}
|
ssh -p 8022 uO_14O@${1}
|
||||||
}
|
}
|
||||||
|
@ -73,12 +73,12 @@ ssh-pixel() {
|
||||||
alias fixwifi='sudo rc-service wpa_supplicant restart'
|
alias fixwifi='sudo rc-service wpa_supplicant restart'
|
||||||
alias fixaudio='pacmd set-default-sink alsa_output.usb-0c76_USB_PnP_Audio_Device-00.analog-stereo'
|
alias fixaudio='pacmd set-default-sink alsa_output.usb-0c76_USB_PnP_Audio_Device-00.analog-stereo'
|
||||||
alias fixjava='export _JAVA_AWT_WM_NONREPARENTING=1 && export AWT_TOOLKIT=MToolkit && wmname LG3D'
|
alias fixjava='export _JAVA_AWT_WM_NONREPARENTING=1 && export AWT_TOOLKIT=MToolkit && wmname LG3D'
|
||||||
|
alias fixkeb='xmodmap ~/.Xmodmap ; xset r rate 200 80 '
|
||||||
|
|
||||||
# auto elevate
|
# auto elevate
|
||||||
alias mount='sudo mount'
|
alias mount='sudo mount'
|
||||||
alias umount='sudo umount'
|
alias umount='sudo umount'
|
||||||
|
|
||||||
# other garbage
|
# other garbage
|
||||||
alias macos="cd /home/bryson/git/macOS-Simple-KVM && ./basic.sh"
|
|
||||||
alias server="python3 /home/bryson/git/webserver/server.py"
|
alias server="python3 /home/bryson/git/webserver/server.py"
|
||||||
|
|
||||||
|
|
|
@ -48,7 +48,8 @@ color4='\e[38;5;226m'
|
||||||
function exit_code() {
|
function exit_code() {
|
||||||
local ERROR="$?"
|
local ERROR="$?"
|
||||||
if [[ ERROR -ne 0 ]]; then
|
if [[ ERROR -ne 0 ]]; then
|
||||||
echo -n '\['"$RED"'\]'"$ERROR"' '
|
echo -n '\['"$RED"'\]'"$ERROR"'\['"$dgray"'\]!'
|
||||||
|
# echo -n '\['"$RED"'\]'"$ERROR"' '
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -75,11 +76,15 @@ function _git_prompt() {
|
||||||
echo local`"
|
echo local`"
|
||||||
fi
|
fi
|
||||||
if ! [[ "$branch" =~ local ]]; then
|
if ! [[ "$branch" =~ local ]]; then
|
||||||
echo -n '\['"$color"'\] ('"$ansi"''"$branch"') '
|
# echo -n '\['"$color"'\] ('"$ansi"''"$branch"') '
|
||||||
|
echo -n '\['"$dgray"'\]#\['"$color"'\]'"$branch"''"$ansi"''
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export -f exit_code
|
||||||
|
export -f _git_prompt
|
||||||
|
|
||||||
# prompt building
|
# prompt building
|
||||||
# (2 unicode)[ bryson@hostname ] { /current/path }
|
# (2 unicode)[ bryson@hostname ] { /current/path }
|
||||||
# (unicode) $
|
# (unicode) $
|
||||||
|
@ -108,12 +113,18 @@ function _git_prompt() {
|
||||||
# [ hostname ] Thu Mar 25, 10:00:00 AM, /dev/pts/0
|
# [ hostname ] Thu Mar 25, 10:00:00 AM, /dev/pts/0
|
||||||
# { /current/path } 8 files, 64 KB (master)
|
# { /current/path } 8 files, 64 KB (master)
|
||||||
# $
|
# $
|
||||||
export _PS1="\[$lgray\][ \[$LBLUE\]\h\[$lgray\] ] \[$LCYAN\]\d, \[$GREEN\]\T"
|
# export _PS1="\[$lgray\][ \[$LMAGENTA\]\h\[$lgray\] ] \[$LYELLOW\]\d, \[$LRED\]\T"
|
||||||
export _PS2="\[$lgray\]{ \[$LYELLOW\]\w\[$lgray\] }"
|
# export _PS2="\[$lgray\]{ \[$CYAN\]\w\[$lgray\] }"
|
||||||
|
|
||||||
|
# bryson@dingo:/current/path:master
|
||||||
|
# $
|
||||||
|
#
|
||||||
|
export _PS1="\[$LBLUE\]\u\[$dgray\]@\[$LGREEN\]\h\[$dgray\]:\[$LYELLOW\]\w"
|
||||||
|
|
||||||
# define x titlebar
|
# define x titlebar
|
||||||
TITLEBAR='\[\033]0;\u@\h:\w ($(history 1 | cut -c 8-))\]'
|
TITLEBAR='\[\033]0;\u@\h:\w ($(history 1 | cut -c 8-))\]'
|
||||||
|
|
||||||
# apply prompt and functions
|
# apply prompt and functions
|
||||||
export PROMPT_COMMAND='export PS1="$TITLEBAR$(exit_code)${_PS1}\n${_PS2}$(_git_prompt)\n\[$NC\]\$ ";history -a'
|
# export PROMPT_COMMAND='export PS1="$TITLEBAR$(exit_code)${_PS1}\n${_PS2}$(_git_prompt)\n\[$NC\]\$ ";history -a'
|
||||||
|
export PROMPT_COMMAND='export PS1="$TITLEBAR$(exit_code)${_PS1}$(_git_prompt)\n\[$NC\]\$ ";history -a'
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,5 @@ export BROWSER=/usr/bin/librewolf-bin
|
||||||
|
|
||||||
export PATH
|
export PATH
|
||||||
complete -cf doas
|
complete -cf doas
|
||||||
source /usr/share/autojump/autojump.bash
|
|
||||||
source /usr/share/bash-completion/completions/fzf
|
source /usr/share/bash-completion/completions/fzf
|
||||||
source /usr/share/fzf/key-bindings.bash
|
source /usr/share/fzf/key-bindings.bash
|
||||||
|
|
|
@ -290,7 +290,7 @@
|
||||||
# * context_all: Open context menu for all notifications.
|
# * context_all: Open context menu for all notifications.
|
||||||
# These values can be strung together for each mouse event, and
|
# These values can be strung together for each mouse event, and
|
||||||
# will be executed in sequence.
|
# will be executed in sequence.
|
||||||
mouse_left_click = do_action, close_current
|
mouse_left_click = close_current
|
||||||
mouse_middle_click = do_action, close_current
|
mouse_middle_click = do_action, close_current
|
||||||
mouse_right_click = close_all
|
mouse_right_click = close_all
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# important config files
|
# important config files
|
||||||
|
echo copying files...
|
||||||
cp ~/.config/alacritty.yml ./alacritty/alacritty.yml
|
cp ~/.config/alacritty.yml ./alacritty/alacritty.yml
|
||||||
cp -r ~/.bash ./bash
|
cp -r ~/.bash ./bash
|
||||||
cp ~/.bash_profile ./bash
|
cp ~/.bash_profile ./bash
|
||||||
|
@ -20,5 +21,6 @@ cp ~/.config/dunst/dunstrc ./dunst
|
||||||
cp ~/.config/htop/htoprc ./htop
|
cp ~/.config/htop/htoprc ./htop
|
||||||
|
|
||||||
# update submodules
|
# update submodules
|
||||||
|
echo pulling submodules...
|
||||||
git submodule update --remote --merge
|
git submodule update --remote --merge
|
||||||
|
|
||||||
|
|
50
vim/.vimrc
50
vim/.vimrc
|
@ -8,7 +8,7 @@ call plug#begin()
|
||||||
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||||
Plug 'itchyny/lightline.vim'
|
Plug 'itchyny/lightline.vim'
|
||||||
Plug 'jceb/vim-orgmode'
|
Plug 'jceb/vim-orgmode'
|
||||||
Plug 'tpope/vim-speeddating'
|
" Plug 'tpope/vim-speeddating'
|
||||||
Plug 'ryanoasis/vim-devicons'
|
Plug 'ryanoasis/vim-devicons'
|
||||||
Plug 'tiagofumo/vim-nerdtree-syntax-highlight'
|
Plug 'tiagofumo/vim-nerdtree-syntax-highlight'
|
||||||
Plug 'lervag/vimtex'
|
Plug 'lervag/vimtex'
|
||||||
|
@ -17,6 +17,8 @@ call plug#begin()
|
||||||
Plug 'tpope/vim-commentary'
|
Plug 'tpope/vim-commentary'
|
||||||
Plug 'godlygeek/tabular'
|
Plug 'godlygeek/tabular'
|
||||||
Plug 'preservim/vim-markdown'
|
Plug 'preservim/vim-markdown'
|
||||||
|
" Plug 'Yggdroot/indentLine'
|
||||||
|
Plug 'junegunn/fzf.vim'
|
||||||
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
|
@ -28,20 +30,23 @@ set relativenumber
|
||||||
set bg:dark
|
set bg:dark
|
||||||
set mouse=a
|
set mouse=a
|
||||||
set tabstop=2 softtabstop=2 shiftwidth=2 expandtab
|
set tabstop=2 softtabstop=2 shiftwidth=2 expandtab
|
||||||
|
set formatoptions-=t
|
||||||
set linebreak
|
set linebreak
|
||||||
set cursorline
|
set cursorline
|
||||||
|
" set cursorcolumn
|
||||||
set backspace=indent,eol,start
|
set backspace=indent,eol,start
|
||||||
set laststatus=2
|
set laststatus=2
|
||||||
set wildmenu
|
set wildmenu
|
||||||
set scrolloff=5
|
set scrolloff=5
|
||||||
set incsearch
|
set incsearch
|
||||||
set ttimeout ttimeoutlen=25
|
set ttimeout ttimeoutlen=25
|
||||||
set showtabline=2
|
" set showtabline=2
|
||||||
set undodir=~/.vim/undo-dir
|
set undodir=~/.vim/undo-dir
|
||||||
set undofile
|
set undofile
|
||||||
set backupdir=$HOME/.vim/backups
|
set backupdir=$HOME/.vim/backups
|
||||||
set noshowmode
|
set noshowmode
|
||||||
set showcmd
|
set showcmd
|
||||||
|
" set termguicolors
|
||||||
" set clipboard=unnamedplus
|
" set clipboard=unnamedplus
|
||||||
|
|
||||||
" lets
|
" lets
|
||||||
|
@ -53,6 +58,7 @@ let g:python_recommended_style = 0
|
||||||
let g:NERDTreeFileExtensionHighlightFullName = 1
|
let g:NERDTreeFileExtensionHighlightFullName = 1
|
||||||
let g:NERDTreeExactMatchHighlightFullName = 1
|
let g:NERDTreeExactMatchHighlightFullName = 1
|
||||||
let g:NERDTreePatternMatchHighlightFullName = 1
|
let g:NERDTreePatternMatchHighlightFullName = 1
|
||||||
|
let g:NERDTreeWinPos = 'right'
|
||||||
let g:org_heading_shade_leading_stars = 0
|
let g:org_heading_shade_leading_stars = 0
|
||||||
let g:vim_markdown_folding_disabled = 1
|
let g:vim_markdown_folding_disabled = 1
|
||||||
let g:vim_markdown_new_list_item_indent = 2
|
let g:vim_markdown_new_list_item_indent = 2
|
||||||
|
@ -60,8 +66,18 @@ let g:vim_markdown_new_list_item_indent = 2
|
||||||
" colorscheme stuff
|
" colorscheme stuff
|
||||||
colorscheme gruvbox
|
colorscheme gruvbox
|
||||||
|
|
||||||
" fix colorscheme colors
|
" set specific colors
|
||||||
hi Normal ctermbg=NONE
|
hi Normal ctermbg=NONE
|
||||||
|
hi Normal guibg=NONE
|
||||||
|
hi CocUnderline gui=undercurl cterm=underline
|
||||||
|
hi CocInfoHighlight cterm=underline
|
||||||
|
hi CocErrorHighlight ctermfg=red gui=underline cterm=underline
|
||||||
|
hi CocWarningHighlight ctermfg=yellow gui=underline cterm=underline
|
||||||
|
hi MatchParen cterm=bold ctermfg=cyan
|
||||||
|
|
||||||
|
" Custom commands
|
||||||
|
command Fixtabs :%s/ / /g | echo 'tabs replaced with spaces (like a good programmer)'
|
||||||
|
command Clipboard :yank + | echo 'Yanked line into system clipboard'
|
||||||
|
|
||||||
" remaps
|
" remaps
|
||||||
nnoremap <SPACE> <Nop>
|
nnoremap <SPACE> <Nop>
|
||||||
|
@ -72,14 +88,17 @@ nnoremap <leader>x :wq<CR>
|
||||||
nnoremap <leader>b :e#<CR>
|
nnoremap <leader>b :e#<CR>
|
||||||
nnoremap <leader>e :e<CR>
|
nnoremap <leader>e :e<CR>
|
||||||
nnoremap <leader>c gcc<CR>
|
nnoremap <leader>c gcc<CR>
|
||||||
|
nnoremap <leader>y :noh<CR>
|
||||||
nnoremap <leader>u :tabp<CR>
|
nnoremap <leader>u :tabp<CR>
|
||||||
nnoremap <leader>o :tabn<CR>
|
nnoremap <leader>o :tabn<CR>
|
||||||
|
nnoremap <leader>r :Clipboard<CR>
|
||||||
nnoremap <leader>h :wincmd h<CR>
|
nnoremap <leader>h :wincmd h<CR>
|
||||||
nnoremap <leader>j :wincmd j<CR>
|
nnoremap <leader>j :wincmd j<CR>
|
||||||
nnoremap <leader>k :wincmd k<CR>
|
nnoremap <leader>k :wincmd k<CR>
|
||||||
nnoremap <leader>l :wincmd l<CR>
|
nnoremap <leader>l :wincmd l<CR>
|
||||||
nnoremap <leader>n :NERDTreeFocus<CR>
|
nnoremap <leader>n :NERDTreeFocus<CR>
|
||||||
nnoremap <leader>t :NERDTreeToggle<CR>
|
nnoremap <leader>t :NERDTreeToggle<CR>
|
||||||
|
nnoremap <leader>f :Files .<CR>
|
||||||
nnoremap <leader>p :wincmd p<CR>
|
nnoremap <leader>p :wincmd p<CR>
|
||||||
nnoremap <leader>v :set paste! number! relativenumber!<CR>
|
nnoremap <leader>v :set paste! number! relativenumber!<CR>
|
||||||
nnoremap <leader>i :CocCommand clangd.switchSourceHeader<CR>
|
nnoremap <leader>i :CocCommand clangd.switchSourceHeader<CR>
|
||||||
|
@ -93,13 +112,13 @@ autocmd BufEnter * if tabpagenr('$') == 1 && winnr('$') == 1 && exists('b:NERDTr
|
||||||
" Close the tab if NERDTree is the only window remaining in it.
|
" Close the tab if NERDTree is the only window remaining in it.
|
||||||
autocmd BufEnter * if winnr('$') == 1 && exists('b:NERDTree') && b:NERDTree.isTabTree() | quit | endif
|
autocmd BufEnter * if winnr('$') == 1 && exists('b:NERDTree') && b:NERDTree.isTabTree() | quit | endif
|
||||||
" Open the existing NERDTree on each new tab.
|
" Open the existing NERDTree on each new tab.
|
||||||
autocmd BufWinEnter * if getcmdwintype() == '' | silent NERDTreeMirror | endif
|
" autocmd BufWinEnter * if getcmdwintype() == '' | silent NERDTreeMirror | endif
|
||||||
|
|
||||||
" turn on spell checker for certain files
|
" turn on spell checker for certain files
|
||||||
autocmd FileType markdown setlocal spell
|
autocmd FileType markdown setlocal spell
|
||||||
autocmd FileType org setlocal spell
|
autocmd FileType org setlocal spell
|
||||||
hi clear SpellBad
|
hi clear SpellBad
|
||||||
hi SpellBad cterm=underline ctermbg=DARKRED
|
hi SpellBad cterm=underline ctermfg=red
|
||||||
hi clear SpellRare
|
hi clear SpellRare
|
||||||
hi SpellRare cterm=underline
|
hi SpellRare cterm=underline
|
||||||
hi clear SpellCap
|
hi clear SpellCap
|
||||||
|
@ -124,6 +143,17 @@ function! CheckBackspace() abort
|
||||||
return !col || getline('.')[col - 1] =~# '\s'
|
return !col || getline('.')[col - 1] =~# '\s'
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
function! HumanSize() abort
|
||||||
|
let l:bytes = line2byte('$') + len(getline('$'))
|
||||||
|
let l:sizes = ['B', 'KB', 'MB', 'GB']
|
||||||
|
let l:i = 0
|
||||||
|
while l:bytes >= 1024
|
||||||
|
let l:bytes = l:bytes / 1024.0
|
||||||
|
let l:i += 1
|
||||||
|
endwhile
|
||||||
|
return printf('%.0f%s', l:bytes, l:sizes[l:i])
|
||||||
|
endfunction
|
||||||
|
|
||||||
" lightline config
|
" lightline config
|
||||||
if expand('$UID') == 0
|
if expand('$UID') == 0
|
||||||
let g:lightline = {
|
let g:lightline = {
|
||||||
|
@ -133,11 +163,12 @@ if expand('$UID') == 0
|
||||||
\ [ 'filename', 'readonly', 'modified' ],
|
\ [ 'filename', 'readonly', 'modified' ],
|
||||||
\ [ 'gitbranch'] ],
|
\ [ 'gitbranch'] ],
|
||||||
\ 'right': [ [ 'lineinfo' ],
|
\ 'right': [ [ 'lineinfo' ],
|
||||||
\ [ 'fileformat', 'filetype' ],
|
\ [ 'filesize', 'fileformat', 'filetype' ],
|
||||||
\ [ 'percent' ] ]
|
\ [ 'percent' ] ]
|
||||||
\ },
|
\ },
|
||||||
\ 'component_function': {
|
\ 'component_function': {
|
||||||
\ 'gitbranch': 'gitbranch#name'
|
\ 'gitbranch': 'gitbranch#name',
|
||||||
|
\ 'filesize': 'HumanSize'
|
||||||
\ },
|
\ },
|
||||||
\ }
|
\ }
|
||||||
let g:lightline.component = {
|
let g:lightline.component = {
|
||||||
|
@ -151,11 +182,12 @@ else
|
||||||
\ [ 'filename', 'readonly', 'modified' ],
|
\ [ 'filename', 'readonly', 'modified' ],
|
||||||
\ [ 'gitbranch'] ],
|
\ [ 'gitbranch'] ],
|
||||||
\ 'right': [ [ 'lineinfo' ],
|
\ 'right': [ [ 'lineinfo' ],
|
||||||
\ [ 'fileformat', 'filetype' ],
|
\ [ 'filesize', 'fileformat', 'filetype' ],
|
||||||
\ [ 'percent' ] ]
|
\ [ 'percent' ] ]
|
||||||
\ },
|
\ },
|
||||||
\ 'component_function': {
|
\ 'component_function': {
|
||||||
\ 'gitbranch': 'gitbranch#name'
|
\ 'gitbranch': 'gitbranch#name',
|
||||||
|
\ 'filesize': 'HumanSize'
|
||||||
\ },
|
\ },
|
||||||
\ }
|
\ }
|
||||||
let g:lightline.component = {
|
let g:lightline.component = {
|
||||||
|
|
|
@ -1,11 +1,41 @@
|
||||||
{
|
{
|
||||||
"semanticTokens.filetypes": ["*"],
|
"semanticTokens.filetypes": ["*"],
|
||||||
|
"semanticTokens.enable": true,
|
||||||
|
"documentHighlight.priority": 2049,
|
||||||
|
"coc.preferences.enableMarkdown": false,
|
||||||
"suggest.completionItemKindLabels": {
|
"suggest.completionItemKindLabels": {
|
||||||
"text": "t",
|
"text": "",
|
||||||
"method": "m",
|
"method": "",
|
||||||
"function": ""
|
"function": "",
|
||||||
|
"constructor": "",
|
||||||
|
"field": "",
|
||||||
|
"variable": "",
|
||||||
|
"class": "",
|
||||||
|
"interface": "",
|
||||||
|
"module": "",
|
||||||
|
"property": "",
|
||||||
|
"unit": "",
|
||||||
|
"value": "",
|
||||||
|
"enum": "",
|
||||||
|
"keyword": "",
|
||||||
|
"snippet": "",
|
||||||
|
"color": "",
|
||||||
|
"file": "",
|
||||||
|
"reference": "",
|
||||||
|
"folder": "",
|
||||||
|
"enumMember": "",
|
||||||
|
"constant": "",
|
||||||
|
"struct": "",
|
||||||
|
"event": "",
|
||||||
|
"operator": "",
|
||||||
|
"typeParameter": "",
|
||||||
|
"default": ""
|
||||||
},
|
},
|
||||||
"java.home": "/usr/local/java/jdk-18.0.1.1",
|
"diagnostic.hintSign": "",
|
||||||
|
"diagnostic.infoSign": "",
|
||||||
|
"diagnostic.errorSign": "",
|
||||||
|
"diagnostic.warningSign": "",
|
||||||
|
"java.jdt.ls.java.home": "/usr/local/java/jdk-18.0.1.1",
|
||||||
"java.configuration.runtimes": [
|
"java.configuration.runtimes": [
|
||||||
{
|
{
|
||||||
"name": "JavaSE-18",
|
"name": "JavaSE-18",
|
||||||
|
@ -16,12 +46,14 @@
|
||||||
"java.referencesCodeLens.enabled": true,
|
"java.referencesCodeLens.enabled": true,
|
||||||
"java.implementationsCodeLens.enabled": true,
|
"java.implementationsCodeLens.enabled": true,
|
||||||
"java.completion.enabled": true,
|
"java.completion.enabled": true,
|
||||||
|
"colors.enable": true,
|
||||||
"perl": {
|
"perl": {
|
||||||
"enable": true,
|
"enable": true,
|
||||||
"debugAdapterPort": "13604",
|
"debugAdapterPort": "13604",
|
||||||
"logLevel": 1
|
"logLevel": 1
|
||||||
},
|
},
|
||||||
"java.jdt.ls.vmargs": "-noverify -Xmx6G -XX:+UseG1GC -XX:+UseStringDeduplication",
|
"java.jdt.ls.vmargs": "-noverify -Xmx6G -XX:+UseG1GC -XX:+UseStringDeduplication",
|
||||||
|
"java.project.referencedLibraries": ["*.jar"],
|
||||||
"languageserver": {
|
"languageserver": {
|
||||||
"csharp-ls": {
|
"csharp-ls": {
|
||||||
"command": "csharp-ls",
|
"command": "csharp-ls",
|
||||||
|
@ -29,5 +61,6 @@
|
||||||
"rootPatterns": ["*.csproj", ".vim/", ".git/", ".hg/"]
|
"rootPatterns": ["*.csproj", ".vim/", ".git/", ".hg/"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"suggest.noselect": true
|
"suggest.noselect": true,
|
||||||
|
"inlayHint.display": false
|
||||||
}
|
}
|
||||||
|
|
|
@ -41,7 +41,7 @@ fi
|
||||||
/usr/bin/dunst &
|
/usr/bin/dunst &
|
||||||
|
|
||||||
# open picom compositor
|
# open picom compositor
|
||||||
#picom --config ~/.config/picom.conf &
|
picom --config ~/.config/picom.conf &
|
||||||
|
|
||||||
#spotifyd &
|
#spotifyd &
|
||||||
|
|
||||||
|
@ -49,7 +49,8 @@ fi
|
||||||
sh ~/.config/screenlayout.sh &
|
sh ~/.config/screenlayout.sh &
|
||||||
|
|
||||||
# set default audio device to be dock audio jack
|
# set default audio device to be dock audio jack
|
||||||
pulseaudio -k && pacmd set-default-sink alsa_output.usb-0c76_USB_PnP_Audio_Device-00.analog-stereo &
|
pulseaudio -k &
|
||||||
|
pacmd set-default-sink alsa_output.usb-0c76_USB_PnP_Audio_Device-00.analog-stereo &
|
||||||
|
|
||||||
# add weather, date and time to xsetroot
|
# add weather, date and time to xsetroot
|
||||||
#sh ~/bin/xsetloop-docked.sh &
|
#sh ~/bin/xsetloop-docked.sh &
|
||||||
|
@ -69,7 +70,7 @@ keepassxc ~/.passwords/Passwords.kdbx &
|
||||||
|
|
||||||
# set up wallpapers
|
# set up wallpapers
|
||||||
#wallpapers.sh &
|
#wallpapers.sh &
|
||||||
feh --bg-fill git/wallpapers-exorcist/gruvbox/canyon.jpg git/wallpapers-exorcist/gruvbox/canyon.jpg &
|
feh --bg-fill git/wallpapers-exorcist/gruvbox/mountains-2.jpg git/wallpapers-exorcist/gruvbox/mountains-2.jpg &
|
||||||
|
|
||||||
# if unicomp keyboard detected, turn alt into super
|
# if unicomp keyboard detected, turn alt into super
|
||||||
if $(lsusb | grep -qi "Unicomp"); then
|
if $(lsusb | grep -qi "Unicomp"); then
|
||||||
|
|
|
@ -41,7 +41,7 @@ fi
|
||||||
/usr/bin/dunst &
|
/usr/bin/dunst &
|
||||||
|
|
||||||
# start picom compositor
|
# start picom compositor
|
||||||
#picom --config ~/.config/picom.conf &
|
picom --config ~/.config/picom.conf &
|
||||||
|
|
||||||
#spotifyd &
|
#spotifyd &
|
||||||
|
|
||||||
|
@ -56,7 +56,7 @@ pacmd set-default-sink alsa_output.pci-0000_03_00.6.HiFi__hw_Generic_1__sink &
|
||||||
pacmd set-sink-volume alsa_output.pci-0000_03_00.6.HiFi__hw_Generic_1__sink 0 &
|
pacmd set-sink-volume alsa_output.pci-0000_03_00.6.HiFi__hw_Generic_1__sink 0 &
|
||||||
|
|
||||||
# set up wallpaper
|
# set up wallpaper
|
||||||
feh --bg-fill ~/git/wallpapers-exorcist/gruvbox/volcano-landscape.jpg
|
feh --bg-fill ~/git/wallpapers-exorcist/gruvbox/books.jpg
|
||||||
|
|
||||||
# apply Xresources
|
# apply Xresources
|
||||||
xrdb -merge ~/.Xresources
|
xrdb -merge ~/.Xresources
|
||||||
|
@ -73,7 +73,15 @@ xrandr --output eDP --auto --set TearFree on --output HDMI-A-0 --set TearFree on
|
||||||
# start keepassxc for passwords
|
# start keepassxc for passwords
|
||||||
keepassxc ~/.passwords/Passwords.kdbx &
|
keepassxc ~/.passwords/Passwords.kdbx &
|
||||||
|
|
||||||
|
# if logitech keyboard detected, turn alt into super
|
||||||
|
if $(lsusb | grep -qi "Logitech Mechanical Keyboard"); then
|
||||||
|
xmodmap -e "remove mod1 = Alt_L"
|
||||||
|
xmodmap -e "remove mod4 = Super_L"
|
||||||
|
xmodmap -e "add mod1 = Super_L"
|
||||||
|
xmodmap -e "add mod4 = Alt_L"
|
||||||
|
fi
|
||||||
|
|
||||||
# start dwm
|
# start dwm
|
||||||
redshift &
|
redshift &
|
||||||
xset r rate 200 80
|
xset r rate 300 80
|
||||||
exec /home/bryson/bin/startdwm.sh
|
exec /home/bryson/bin/startdwm.sh
|
||||||
|
|
Loading…
Add table
Reference in a new issue