Various updates
035f4aae23c0231ae6850a6fc9c31d6a8bdfeebe
1 parent
5a3cd6d2
.config/kitty/dark.conf
+7 -0
| 13 | 13 | draw_minimal_borders yes |
|
| 14 | 14 | cursor_blink_interval 0 |
|
| 15 | 15 | strip_trailing_spaces always |
|
| 16 | 16 | hide_window_decorations yes |
|
| 17 | 17 | ||
| 18 | + | tab_bar_edge top |
|
| 19 | + | tab_bar_style slant |
|
| 20 | + | active_tab_foreground #000000 |
|
| 21 | + | active_tab_background #CCCCCC |
|
| 22 | + | inactive_tab_foreground #000000 |
|
| 23 | + | inactive_tab_background #333333 |
|
| 24 | + | ||
| 18 | 25 | resize_debounce_time 0.0 |
|
| 19 | 26 | resize_in_steps no |
|
| 20 | 27 | ||
| 21 | 28 | window_resize_step_cells 2 |
|
| 22 | 29 | window_resize_step_lines 2 |
.config/nvim/coc-settings.json
+6 -2
| 35 | 35 | "rust-analyzer.inlayHints.parameterHints.enable": false, |
|
| 36 | 36 | "rust-analyzer.inlayHints.renderColons": false, |
|
| 37 | 37 | "rust-analyzer.inlayHints.typeHintsSeparator": "", |
|
| 38 | 38 | "rust-analyzer.inlayHints.chainingHintsSeparator": " ", |
|
| 39 | 39 | "rust-analyzer.updates.prompt": false, |
|
| 40 | - | "rust-analyzer.diagnostics.enableExperimental": true, |
|
| 40 | + | "rust-analyzer.diagnostics.experimental.enable": false, |
|
| 41 | + | "rust-analyzer.experimental.procAttrMacros": true, |
|
| 42 | + | "rust-analyzer.procMacro.attributes.enable": true, |
|
| 43 | + | "rust-analyzer.procMacro.enable": true, |
|
| 41 | 44 | "rust-analyzer.diagnostics.disabled": [ |
|
| 42 | - | "macro-error" |
|
| 45 | + | "macro-error", |
|
| 46 | + | "unresolved-proc-macro" |
|
| 43 | 47 | ], |
|
| 44 | 48 | "rust-analyzer.lens.enable": true, |
|
| 45 | 49 | "rust-analyzer.checkOnSave.command": "clippy", |
|
| 46 | 50 | ||
| 47 | 51 | "list.maxHeight": 10, |
.gitconfig
+3 -0
| 41 | 41 | [core] |
|
| 42 | 42 | excludesfile = /home/cloudhead/.gitignore |
|
| 43 | 43 | editor = /usr/bin/nvim |
|
| 44 | 44 | pager = less -F -X |
|
| 45 | 45 | ||
| 46 | + | [push] |
|
| 47 | + | autoSetupRemote = true |
|
| 48 | + | ||
| 46 | 49 | [alias] |
|
| 47 | 50 | b = branch -v |
|
| 48 | 51 | c = commit -v |
|
| 49 | 52 | s = status -sb |
|
| 50 | 53 | r = rebase |
.profile
+1 -2
| 2 | 2 | ||
| 3 | 3 | if command -v keychain >/dev/null; then |
|
| 4 | 4 | eval $(keychain --eval --agents ssh -Q --quiet ~/.ssh/id_rsa) |
|
| 5 | 5 | fi |
|
| 6 | 6 | ||
| 7 | - | export PATH=~/bin:~/.local/bin:~/.yarn/bin:~/.gcloud/bin:~/.cabal/bin:~/.cargo/bin:~/.gem/ruby/2.6.0/bin:~/.radicle/bin:~/.npm-packages/bin:$PATH |
|
| 7 | + | export PATH=~/bin:~/.local/bin:~/.yarn/bin:~/.gcloud/bin:~/.cabal/bin:~/.radicle/bin:~/.cargo/bin:~/.gem/ruby/2.6.0/bin:~/.radicle/bin:~/.npm-packages/bin:$PATH |
|
| 8 | 8 | export PATH=$PATH:~/.foundry/bin |
|
| 9 | 9 | export NODE_PATH=/usr/lib/node_modules |
|
| 10 | 10 | export EDITOR=nvim |
|
| 11 | 11 | export VISUAL=nvim |
|
| 12 | 12 | export MOZ_USE_XINPUT2=1 # Pixel scrolling in Firefox |
|
| 13 | 13 | export RIPGREP_CONFIG_PATH=$HOME/.rgrc |
|
| 14 | - | export PATH="$HOME/.radicle/bin:$PATH" |
|
| 15 | 14 | export NNN_FIFO=/tmp/nnn.fifo |
|
| 16 | 15 | export CARGO_BUILD_JOBS=12 |
|
| 17 | 16 | ||
| 18 | 17 | systemctl --user start share-sync |
|
| 19 | 18 |
.vim/spell/en.utf-8.add
+7 -0
| 118 | 118 | Dockerfiles |
|
| 119 | 119 | namespacing |
|
| 120 | 120 | quickcheck |
|
| 121 | 121 | QuickCheck |
|
| 122 | 122 | Crypto |
|
| 123 | + | ODB |
|
| 124 | + | NID |
|
| 125 | + | refspecs |
|
| 126 | + | refspec |
|
| 127 | + | gitremote |
|
| 128 | + | DWIM |
|
| 129 | + | Altintop |
.vimrc
+2 -1
| 122 | 122 | " Per file-type indentation |
|
| 123 | 123 | au FileType haskell setlocal number sts=4 sw=4 expandtab formatprg=stylish-haskell |
|
| 124 | 124 | au FileType javascript setlocal number sts=2 sw=2 expandtab nowrap |
|
| 125 | 125 | au FileType typescript setlocal number sts=2 sw=2 expandtab nowrap |
|
| 126 | 126 | au FileType svelte setlocal number sts=2 sw=2 expandtab nowrap |
|
| 127 | - | au FileType css setlocal number ts=2 sw=2 noexpandtab nowrap |
|
| 127 | + | au FileType css setlocal number sts=2 sw=2 expandtab nowrap |
|
| 128 | 128 | au FileType go setlocal number ts=4 sw=4 noexpandtab |
|
| 129 | 129 | au FileType c,cpp,glsl setlocal number ts=4 sw=4 noexpandtab |
|
| 130 | 130 | au FileType lua setlocal number sw=2 expandtab |
|
| 131 | 131 | au FileType sh,zsh setlocal number sts=2 sw=2 expandtab |
|
| 132 | 132 | au FileType vim,ruby setlocal number sts=2 sw=2 expandtab |
| 136 | 136 | au FileType rust setlocal number signcolumn=yes nowrap colorcolumn=100 textwidth=100 |
|
| 137 | 137 | au FileType plain setlocal nonumber noai nocin nosi inde= wrap linebreak textwidth=80 |
|
| 138 | 138 | au FileType pandoc setlocal nonumber |
|
| 139 | 139 | au FileType markdown setlocal nonumber conceallevel=0 |
|
| 140 | 140 | au FileType rst setlocal nonumber sw=2 expandtab wrap linebreak textwidth=80 |
|
| 141 | + | au FileType todo setlocal nonumber sw=2 expandtab nolinebreak nowrap textwidth=0 |
|
| 141 | 142 | au FileType fountain setlocal nonumber noai nocin nosi inde= wrap linebreak |
|
| 142 | 143 | au FileType tex setlocal |
|
| 143 | 144 | ||
| 144 | 145 | au BufRead,BufNewFile *.md setf markdown |
|
| 145 | 146 | au BufRead,BufNewFile *.tex setf tex |
.zshrc
+1 -1
| 70 | 70 | alias s='systemctl' |
|
| 71 | 71 | alias x='startx' |
|
| 72 | 72 | alias web='chromium &' |
|
| 73 | 73 | alias e=$EDITOR |
|
| 74 | 74 | alias pdf='mupdf' |
|
| 75 | - | alias webserver='python2 -m SimpleHTTPServer' |
|
| 75 | + | alias webserver='python -m http.server' |
|
| 76 | 76 | alias pacman='sudo pacman --color=auto' |
|
| 77 | 77 | alias vim=nvim |
|
| 78 | 78 | alias clip='xclip -sel clip' |
|
| 79 | 79 | alias irc='weechat' |
|
| 80 | 80 | alias cloc='tokei' |
bin/colors
+2 -2
| 1 | - | #!/usr/bin/env python2 |
|
| 1 | + | #!/usr/bin/env python |
|
| 2 | 2 | import sys |
|
| 3 | 3 | for i in range(0, 16): |
|
| 4 | 4 | for j in range(0, 16): |
|
| 5 | 5 | code = str(i * 16 + j) |
|
| 6 | 6 | sys.stdout.write(u"\u001b[38;5;" + code + "m " + code.ljust(4)) |
|
| 7 | - | print u"\u001b[0m" |
|
| 7 | + | print(u"\u001b[0m") |
bin/conky-sync-status
+9 -3
| 1 | 1 | #!/bin/sh |
|
| 2 | 2 | ||
| 3 | 3 | REMOTE=share |
|
| 4 | 4 | ||
| 5 | - | status="$(systemctl --user is-active share-sync)" |
|
| 6 | - | dry=$(rsync --dry-run --checksum --delete -ril ~/share/ $REMOTE:share/) |
|
| 7 | - | ||
| 8 | 5 | green() { |
|
| 9 | 6 | echo -n "+@fg=4;$1+@fg=0;" |
|
| 10 | 7 | } |
|
| 11 | 8 | ||
| 12 | 9 | red() { |
|
| 13 | 10 | echo -n "+@fg=3;$1+@fg=0;" |
|
| 14 | 11 | } |
|
| 15 | 12 | ||
| 13 | + | status="$(systemctl --user is-active share-sync)" |
|
| 14 | + | dry=$(rsync --dry-run --checksum --delete -ril ~/share/ $REMOTE:share/) |
|
| 15 | + | ||
| 16 | + | if [ $? -ne 0 ]; then |
|
| 17 | + | red "✘" |
|
| 18 | + | echo |
|
| 19 | + | exit 0 |
|
| 20 | + | fi |
|
| 21 | + | ||
| 16 | 22 | if [[ "$dry" ]]; then |
|
| 17 | 23 | red "!" |
|
| 18 | 24 | else |
|
| 19 | 25 | green "✔" |
|
| 20 | 26 | fi |