Updates

cede080488db5e24aab34a35140aee9488ff08bd
Alexis Sellier committed ago 1 parent 1879b4bf
.config/flameshot/flameshot.ini +1 -1
1 1
[General]
2 2
buttons=@Variant(\0\0\0\x7f\0\0\0\vQList<int>\0\0\0\0\x12\0\0\0\0\0\0\0\x1\0\0\0\x2\0\0\0\x3\0\0\0\x5\0\0\0\x6\0\0\0\x12\0\0\0\xf\0\0\0\x16\0\0\0\x13\0\0\0\a\0\0\0\b\0\0\0\t\0\0\0\x10\0\0\0\n\0\0\0\v\0\0\0\x17\0\0\0\f)
3 3
contrastOpacity=173
4 4
drawColor=#0012ff
5 -
savePath=/home/cloudhead
5 +
savePath=/home/cloudhead/images
6 6
uiColor=#7fffd4
7 7
uploadHistoryMax=18
8 8
userColors=picker, #7fffd4, #ff0000, #ffff00, #00ff00, #008000, #00ffff, #0000ff, #ff00ff, #800080
.config/nvim/coc-settings.json +9 -1
21 21
  "coc.preferences.useQuickfixForLocations": true,
22 22
  "coc.preferences.bracketEnterImprove": false,
23 23
  "coc.preferences.snippets.enable": false,
24 24
  "coc.preferences.enableMessageDialog": true,
25 25
  "coc.preferences.formatOnSaveFiletypes": [
26 -
    "rust"
26 +
    "rust", "c", "cpp"
27 27
  ],
28 28
  "coc.source.snippets.enable": false,
29 29
  "coc.source.buffer.enable": false,
30 30
  "coc.source.file.enable": false,
31 31
56 56
57 57
  "list.maxHeight": 10,
58 58
  "list.autoResize": false,
59 59
  "list.extendedSearchMode": false,
60 60
61 +
  "languageserver": {
62 +
    "clangd": {
63 +
      "command": "clangd",
64 +
      "rootPatterns": ["compile_flags.txt", "compile_commands.json"],
65 +
      "filetypes": ["c"]
66 +
    }
67 +
  },
68 +
61 69
  "suggest.maxCompleteItemCount": 32
62 70
}
.profile +1 -1
1 1
#!/bin/sh
2 2
3 3
if command -v keychain >/dev/null; then
4 -
  eval $(keychain --eval --agents ssh -Q --quiet ~/.ssh/id_rsa ~/.radicle/keys/radicle)
4 +
  eval $(keychain --eval -Q --quiet ~/.ssh/id_rsa ~/.radicle/keys/radicle)
5 5
fi
6 6
7 7
export PATH=~/bin:~/.local/bin:~/.yarn/bin:~/.gcloud/bin:~/.cabal/bin:~/.radicle/bin:~/.cargo/bin:~/.gem/ruby/2.6.0/bin:~/.npm-packages/bin:$PATH
8 8
export PATH=$PATH:~/.foundry/bin
9 9
export PATH=$PATH:~/.local/share/gem/ruby/3.0.0/bin
.vimrc +16 -3
157 157
au BufRead,BufNewFile *.mustache  setf mustache
158 158
au BufRead,BufNewFile *.tera      setf htmldjango
159 159
au BufRead,BufNewFile *.svelte    setf svelte
160 160
au BufRead,BufNewFile *.wiki      setf wiki
161 161
au BufRead,BufNewFile *.r         setf radiance
162 +
au BufRead,BufNewFile *.h         set filetype=c
162 163
163 164
" If no file-type is detected, set to plain.
164 165
autocmd BufEnter * if &filetype == "" | setlocal ft=plain | endif
165 166
166 167
let c_no_curly_error = 1
301 302
  tnoremap <Esc> <C-\><C-n>
302 303
endif
303 304
304 305
" Grep
305 306
if executable('rg')
306 -
  set grepprg=rg\ --vimgrep
307 +
  set grepprg=rg\ --vimgrep\ --smart-case
307 308
  set grepformat=%f:%l:%c:%m
308 309
endif
309 -
command! -nargs=+ Rg execute 'silent grep! <args>' | copen 12
310 +
command! -nargs=+ -complete=file Rg call Ripgrep(<q-args>)
311 +
command! -nargs=+ -complete=file RgAll call Ripgrep(<q-args>, '--no-ignore')
312 +
313 +
function! Ripgrep(query, ...)
314 +
  " Get additional flags (like --no-ignore)
315 +
  let l:extra_flags = a:0 > 0 ? a:1 : ''
316 +
  " Build the search command
317 +
  let l:cmd = 'silent grep! ' . l:extra_flags . ' ' . shellescape(a:query)
318 +
  " Execute search and open quickfix
319 +
  execute l:cmd
320 +
  copen 12
321 +
endfunction
322 +
310 323
autocmd FileType qf nnoremap <buffer> <CR> <CR>
311 324
312 325
" Syntax coloring
313 326
syntax enable
314 327
350 363
  Plug 'rust-lang/rust.vim'
351 364
  Plug 'neoclide/coc.nvim', { 'branch': 'release', 'for': ['rust', 'typescript', 'svelte', 'c'] }
352 365
  Plug 'neovim/nvim-lspconfig'
353 366
  Plug 'lewis6991/gitsigns.nvim'
354 367
  Plug 'leafgarland/typescript-vim', { 'for': ['typescript'] }
355 -
  Plug 'lambdalisue/fern.vim'
356 368
  Plug 'lervag/wiki.vim'
357 369
  Plug 'laurelmay/riscv.vim'
370 +
  Plug 'kblin/vim-fountain'
358 371
359 372
  call plug#end()
360 373
endif
361 374
362 375
"
.xbindkeysrc +6 -0
41 41
   XF86AudioLowerVolume
42 42
43 43
# Mute
44 44
"pactl set-sink-mute @DEFAULT_SINK@ toggle"
45 45
   XF86AudioMute
46 +
47 +
"brightnessctl set +10%"
48 +
    XF86MonBrightnessUp
49 +
50 +
"brightnessctl set 10%-"
51 +
    XF86MonBrightnessDown