Compare commits
4 Commits
df9e995030
...
95fb4c0050
Author | SHA1 | Date | |
---|---|---|---|
95fb4c0050 | |||
46cba9903c | |||
2529f6e1da | |||
12de2d94c9 |
9
.bashrc
9
.bashrc
@ -19,17 +19,18 @@ alias nvidia_gpu="DRI_PRIME=1 __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_N
|
|||||||
alias feh="swallow feh --force-aliasing --draw-exif --scale-down --draw-filename"
|
alias feh="swallow feh --force-aliasing --draw-exif --scale-down --draw-filename"
|
||||||
alias ffplay="swallow ffplay $@"
|
alias ffplay="swallow ffplay $@"
|
||||||
alias shutdown="shutdown -P now"
|
alias shutdown="shutdown -P now"
|
||||||
|
alias untar="tar -xvf $@"
|
||||||
|
|
||||||
export DENO_INSTALL="/home/oliver/.deno"
|
export DENO_INSTALL="/home/oliver/.deno"
|
||||||
export PATH="$DENO_INSTALL/bin:$PATH"
|
export PATH="$PATH:$DENO_INSTALL/bin:$HOME/.cargo/bin:$HOME/.local/bin/"
|
||||||
export PATH="$HOME/.cargo/bin:$HOME/.local/bin/:$PATH"
|
|
||||||
export DOTNET_CLI_TELEMETRY_OPTOUT=1
|
export DOTNET_CLI_TELEMETRY_OPTOUT=1
|
||||||
export TORCH_CUDA_VERSION="cu117"
|
export TORCH_CUDA_VERSION="cu117"
|
||||||
export LIBTORCH="/home/oliver/sources/libtorchcxx11"
|
export LIBTORCH="/home/oliver/sources/libtorchcxx11"
|
||||||
export LD_LIBRARY_PATH="${LIBTORCH}/lib:$LD_LIBRARY_PATH"
|
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${LIBTORCH}/lib"
|
||||||
export WINEPREFIX="$HOME/.wine/"
|
export WINEPREFIX="$HOME/.wine/"
|
||||||
export DXVK_HUD="fps"
|
export DXVK_HUD="fps,compiler"
|
||||||
export EDITOR="nvim"
|
export EDITOR="nvim"
|
||||||
|
export TZ='America/Denver'
|
||||||
|
|
||||||
lfcd() {
|
lfcd() {
|
||||||
tmp="$(mktemp)"
|
tmp="$(mktemp)"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"java.import.gradle.java.home": "/usr/lib/jvm/java-17-openjdk",
|
"java.import.gradle.java.home": "/usr/lib/jvm/java-17-openjdk",
|
||||||
"java.jdt.ls.java.home": "/usr/lib/jvm/java-17-openjdk",
|
"java.jdt.ls.java.home": "/usr/lib/jvm/java-17-openjdk",
|
||||||
"semanticTokens.enable": true
|
"semanticTokens.enable": true,
|
||||||
}
|
}
|
||||||
|
@ -12,8 +12,10 @@ Plug 'neoclide/coc.nvim', {'branch': 'release'} " code completion
|
|||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
" =============== Vannila vim config ================================================
|
" =============== Vannila vim config ================================================
|
||||||
|
let mapleader = "\\"
|
||||||
|
:set splitbelow
|
||||||
:set clipboard=unnamedplus
|
:set clipboard=unnamedplus
|
||||||
:set relativenumber
|
:set number relativenumber
|
||||||
:windo set nowrap
|
:windo set nowrap
|
||||||
:set showcmd
|
:set showcmd
|
||||||
:set mouse=a
|
:set mouse=a
|
||||||
@ -22,13 +24,22 @@ call plug#end()
|
|||||||
:set updatetime=250
|
:set updatetime=250
|
||||||
:set tabstop=4 shiftwidth=4 smarttab
|
:set tabstop=4 shiftwidth=4 smarttab
|
||||||
:highlight Comment ctermfg=Grey
|
:highlight Comment ctermfg=Grey
|
||||||
" =============== Colors ====================
|
nnoremap <silent> <leader>p :split +term <CR>
|
||||||
|
|
||||||
|
|
||||||
|
" =============== NERDTree ================================================
|
||||||
|
" Toggle file browser
|
||||||
|
nnoremap <silent> <leader>e :NERDTreeToggle<CR>
|
||||||
|
|
||||||
|
" =============== Colors ================================================
|
||||||
let g:onedark_config = {
|
let g:onedark_config = {
|
||||||
\ 'style': 'warmer',
|
\ 'style': 'warmer',
|
||||||
\}
|
\}
|
||||||
colorscheme onedark
|
colorscheme onedark
|
||||||
:hi CocFloating guifg=clear guibg=#151515
|
:hi CocFloating guibg=#151515 guifg=clear
|
||||||
:hi Pmenu guibg=#151515 guifg=clear
|
:hi Pmenu guibg=#151515 guifg=clear
|
||||||
|
:hi @parameter guifg=#ed6215
|
||||||
|
:hi CursorColumn guibg=#e2c792 guifg=#232326
|
||||||
|
|
||||||
" =============== NERDTree Config ================================================
|
" =============== NERDTree Config ================================================
|
||||||
:let NERDTreeShowHidden=1
|
:let NERDTreeShowHidden=1
|
||||||
@ -53,10 +64,7 @@ endfunction
|
|||||||
autocmd CursorHold * silent call CocActionAsync('highlight')
|
autocmd CursorHold * silent call CocActionAsync('highlight')
|
||||||
|
|
||||||
" coc rename
|
" coc rename
|
||||||
nnoremap <silent> rr <Plug>(coc-rename)
|
nnoremap <silent> <leader>r <Plug>(coc-rename)
|
||||||
" Toggle file browser
|
|
||||||
nnoremap <C-e> :NERDTreeToggle<CR>
|
|
||||||
|
|
||||||
" Jump between references and definiton
|
" Jump between references and definiton
|
||||||
nnoremap <silent> <C-k> :call CocActionAsync('jumpReferences')<CR>
|
nnoremap <silent> <C-k> :call CocActionAsync('jumpReferences')<CR>
|
||||||
nnoremap <silent> K :call CocActionAsync('jumpDefinition')<CR>
|
nnoremap <silent> K :call CocActionAsync('jumpDefinition')<CR>
|
||||||
|
5
.xinitrc
5
.xinitrc
@ -37,7 +37,8 @@ fi
|
|||||||
|
|
||||||
xcompmgr -n &
|
xcompmgr -n &
|
||||||
|
|
||||||
xrandr --output HDMI-0 --mode 1920x1080 --rate 60 --brightness 0.8 --left-of DP-4
|
xrandr --output HDMI-1 --mode 1920x1080 --rate 60 --brightness 0.8 --left-of DP-3
|
||||||
xrandr --output DP-4 --mode 1920x1080 --rate 165 --brightness 0.8 --primary
|
xrandr --output DP-3 --mode 1920x1080 --rate 165 --brightness 0.8 --primary
|
||||||
|
|
||||||
|
start-pipewire &
|
||||||
dbus-launch --exit-with-session awesome
|
dbus-launch --exit-with-session awesome
|
||||||
|
Loading…
x
Reference in New Issue
Block a user