commit 76a52b7ebeed1588a017bdd0c62559e14195ac9d Author: FIGBERT <figbert@figbert.com> Date: Fri, 14 May 2021 13:52:57 -0700 Initial commit Diffstat:
22 files changed, 436 insertions(+), 0 deletions(-)
diff --git a/.chezmoitemplates/spotify-tui b/.chezmoitemplates/spotify-tui @@ -0,0 +1,5 @@ +--- +client_id: {{ .client_id }} +client_secret: {{ .client_secret }} +device_id: {{ .device_id }} +port: 8888 diff --git a/dot_config/alacritty/alacritty.yml.tmpl b/dot_config/alacritty/alacritty.yml.tmpl @@ -0,0 +1,42 @@ +colors: + primary: + background: "#10100E" + foreground: "#C6C6C4" + normal: + black: "#10100E" + red: "#C40233" + green: "#009F6B" + yellow: "#FFD700" + blue: "#0087BD" + magenta: "#9A4EAE" + cyan: "#20B2AA" + white: "#C6C6C4" + bright: + black: "#696969" + red: "#FF2400" + green: "#03C03C" + yellow: "#FDFF00" + blue: "#007FFF" + magenta: "#FF1493" + cyan: "#00CCCC" + white: "#FFFAFA" +cursor: + style: Underline + unfocused_hollow: false + thickness: 0.25 +font: + size: 12 + use_thin_strokes: true + normal: + family: JetbrainsMono Nerd Font + style: Regular + bold: + family: JetbrainsMono Nerd Font + style: Bold + italic: + family: JetbrainsMono Nerd Font + style: Italic + bold_italic: + family: JetbrainsMono Nerd Font + style: Bold Italic +background_opacity: 1 diff --git a/dot_config/amfora/client-certs/encrypted_astrobotany-cert.pem.age b/dot_config/amfora/client-certs/encrypted_astrobotany-cert.pem.age @@ -0,0 +1,19 @@ +-----BEGIN AGE ENCRYPTED FILE----- +YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSA0UFYzOFRGVjNFOE9PY3Yx +L2R5MitNWml2K0FmcjcxQkdTRTdvWjVXY2lnCjJiZENNRDlXamxYMmxUSTVuS3ha +cmJsanpGdTFLQ3BLMmFaRURFbUFrYUEKLS0tIG5UZTdiVDc0OFNPRHZrU2gvVWxZ +QnAxOW81UzFMTFZKRnIrT0sxNDN4aGcKRPknAcbvXsHSem9H/penHXeCoSJUfSnx +V23dMe/soboH9TvBbTCy2Qzv9NNpsGFutw5P3luZfhL5H5EbTmxcaRxSIICpYumy +1zlQ6kJAgirV/b8locewVmAepGsk9TGQkOzvDqFQcnOjXlVwcmeUsmF9SrA4diQo +xeQOb9sf8tNBl2EWpvW/4+dP7ukdI2pJSOGxKXoFBMJ3Z/tzoZ4qosLZ5lRylw1b +E4GPFCwhHrzMh6clsowAUfKJgIU3Ih11bbvQlNvsawOPbTZZPlXiBKGnrYjsDvst +GUNlJS1gC4MlPsscwpfZsknqW9MLwFwJ45sAEmGgzH59sZKb8Cq6xK5mVx/11CxC +hvCn7kl0PHNhK6wkNxawicybdoFbEPSlm/yT7uXIrW6velWIaIjyAV95ODckxh9r +pouHQIVNvwNXKuSYrq9IEJz/hix7Cp9WLwIUSJzeW8MWkIqeP0S/R5R2t5xK10/P +TVBjeHK4Vw4Me1fW03Kil9UnQKmMsk1ZhxAbSHs5KiOe1/k2zgtEPbgE6y58SPCm +XrbIFL2kWvedCZghwuJnfSopFiYQgDcp8ihxvYm+P3WdCLTxhEbuoJdTON8XUijo +Rglkri1QhDFAsfeXX0OPtnX5ZAQt5eDPYaB1Qd5mObKrMUN7QQ0SJVpw5zaC8jh3 +YkmsfQSJvz4NQ5vxjlcKiQwJ0G1N2Ylyk/vtm7TFI5C+XWPtgaYTjvdEksChG8Kc +RBLFt6md/e0jQzblNjk9RSts3jKrIIvQHuQjz3oQuS786SFqyy8rTjjYkHM6/q+r +qGw= +-----END AGE ENCRYPTED FILE----- diff --git a/dot_config/amfora/client-certs/encrypted_private_astrobotany-key.pem.age b/dot_config/amfora/client-certs/encrypted_private_astrobotany-key.pem.age @@ -0,0 +1,12 @@ +-----BEGIN AGE ENCRYPTED FILE----- +YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBHNk1qc1FrY3gvTkpLNzFN +QlU1d1RoMlAwMDR6UVM3dTBhYU9YMjlzUUYwCkZvTkp2VHhYZzJrL3JyRForKzU0 +SnRYM1dEMlc0UGhuRGxpQmpyREhjTTAKLS0tIGQ2a3RYTkV1YytYZFVPdlk4Smlz +ZnNwQ29uZDgwV1NpZHpJUlpuN3MyNjAKcLRTe0ayzq4OB/dNuyeMPOh2YSzv1x5x +tedljx4gHx0xx7qQ1cZAWE2Z+aWDPriSutHnjgEhp16VB3N/cIJiov1J/4a3PoAJ +A/gz1KkjTPuHbr4TcS9DHQGazhksKPsX7lqNiMyBX31N4qKCOhN3B236JP7kxMsA +gTv68aIYGYSElJhAfKyysJCM/cjtCSZ98PUdzZIQfWfl8jc0D1xG724KvOC/6l26 +y3L2W4qzXWp0Fj7YtRzsWcUeLIa/+k7+uUnkVzGnwIjeTTCWIDYnE8HI249tTmj1 +Lrg1+t8XzN5O4IteheyMZc5IFNuR9125hioB9YndRoSonLUOB4JgCh18JfAaAE2j +B9vxF6E3hk8X +-----END AGE ENCRYPTED FILE----- diff --git a/dot_config/amfora/client-certs/encrypted_private_station.key.age b/dot_config/amfora/client-certs/encrypted_private_station.key.age @@ -0,0 +1,9 @@ +-----BEGIN AGE ENCRYPTED FILE----- +YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSB0VmJJejlVcUF5dXJnTnVV +OWxxTzZDdFJYVDQzSURmZEJqekZWUEtkUUhRCitBcWRHckF4OGhtSUZHR2UzZkNt +WlNHTExwWTRMOHBraFpHYy94RHRMV3cKLS0tIDBwV0tmUmFIeWtWK0NqRk5QUXJv +ekNFM1hLU2JEZkQ1aXZVaHBiZDZaSHcKAKaoznLxj+fF+DEvAwGih12ZOonrmceD +OdiP1qlZniM4/uociPnpNWTreSYTDU6uZ/LvABI3/nk8C7qSzhklBLZvK2fnZ+9p +wioDjodwjFUc/aocv1T0VbwRbDfeOGoj8wpoZ6LYqJy48hpvBmTrzs/l3ei5tPj5 +4pbS/jZkiZbhwcJsaJhKLnupGhbzAKkL4Qujya5KPA== +-----END AGE ENCRYPTED FILE----- diff --git a/dot_config/amfora/client-certs/encrypted_station.crt.age b/dot_config/amfora/client-certs/encrypted_station.crt.age @@ -0,0 +1,19 @@ +-----BEGIN AGE ENCRYPTED FILE----- +YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSA5UWQvTUZHNmloZHBEQkRw +RTEybEpXTFc2clJQaWVFY0UzTGxBejZ0WmdZCjZVdmxQR2hkV3BFOUFYVk9WTEJX +SHpHSFA0ZStzL1NuR2xXL21FS0Ztd28KLS0tIFBaR2U1c0JXcTBpeG1TclRMTHda +UythUFVKMXg1SDFMNXRRUVFsNEpjb2MKE6ckaxTtfd2PdyRT94wA5CxYkBTQmUjV +aaDBMXsvoE2AyFSirMPnypirKBQBIVBK2t2GQykKIOMJcOiR3BcSWX/Y7EJfob/o +x1fDo/HMPJOZl5ywp40t+l2ZfqhhBPvR37VMInGxBpeZIr3HbUxvw/GCKTkgO697 +HMuhF/RQSKY6WA7J/7Kenl11ozl/cnspnr/dGnDBiD1pgs99q0SPCMykwAF/1RAX +/xojWecvwd4VgW4apZ9jc2uxmAsXCY+z488cjmVEs9zwcx0Dl3TI/v8hPyiU2VxW +dkNET8/ziSEII9o6muYVFK+z1VjdJhDqmcFZyQkej3jBEYQjUcHBo6oBlRetwOHJ +MeGrdLDaYzmc/D7NALwKanasqPK2Sa11nmK8AZdewmyaVRh+ue2D2R2KgxTOTJrK +pRXov8OnF4lvSMs4Q9vab6NCEqX4O8OtYe7PykJVxUJgscuwYgaL+HsWvfOJ6PnD +wk9XBy+LQATLPWe8LfW7VuXEC8NWkSs/7LSy+yqe11Ooqzjj9GKtC7yMo+zmuswu +VgFOlIlPgwMij0qVkEQiXpvpQiRpWBn9dWttRzZNiq5boCyGpA3kpqKzgTDm0bAw +ryG8KAh/hfhnPc0TWLuLyjdv7HjkDTcA6vC0+HLmoX6EUNLPCNcD44I0Av0gLP7j +BfyI/H5lRSvYcYop4VvxBDwYncIqUuCxoHRAAJOoXkIi2UvoBQPxMgkiPbQq+x3g +4dpi+93fU42HmKf7ni1OLZthPE2zV4QnCS05axzhEXKbN2jjkXKkH+IO98N+ni/8 +Dq+Vi82wDoG4R70HJd9hfseuOw== +-----END AGE ENCRYPTED FILE----- diff --git a/dot_config/amfora/config.toml b/dot_config/amfora/config.toml @@ -0,0 +1,43 @@ +[a-general] +home = "about:newtab" +auto_redirect = true +http = "default" +search = "gemini://geminispace.info/search" +color = true +ansi = true +bullets = true +show_link = false +left_margin = 0.15 +max_width = 100 +downloads = "" +page_max_size = 4194304 # 4 MiB +page_max_time = 10 +scrollbar = "never" + +[auth] +[auth.certs] +"astrobotany.mozz.us" = "~/.config/amfora/client-certs/astrobotany-cert.pem" +"station.martinrue.com" = "~/.config/amfora/client-certs/station.crt" +[auth.keys] +"astrobotany.mozz.us" = "~/.config/amfora/client-certs/astrobotany-key.pem" +"station.martinrue.com" = "~/.config/amfora/client-certs/station.key" + +[keybindings] + +[url-handlers] +other = "off" + +[cache] +max_size = 0 # Size in bytes +max_pages = 30 # Maximum pages in cache +timeout = 1800 # How long a page stays in cache (seconds) + +[proxies] + +[subscriptions] +popup = true +update_interval = 1800 # 30 mins (seconds) +workers = 3 +entries_per_page = 20 + +[theme] diff --git a/dot_config/cordless/config.json.tmpl b/dot_config/cordless/config.json.tmpl @@ -0,0 +1,31 @@ +{ + "Token": "{{ .cordless.token }}", + "Autocomplete": true, + "Times": 0, + "UserColors": "single", + "FocusChannelAfterGuildSelection": true, + "FocusMessageInputAfterChannelSelection": true, + "ShowUserContainer": true, + "UseFixedLayout": false, + "FixedSizeLeft": 12, + "FixedSizeRight": 12, + "OnTypeInListBehaviour": 1, + "MouseEnabled": true, + "ShortenLinks": false, + "ShortenWithExtension": false, + "ShortenerPort": 63212, + "DesktopNotifications": true, + "DesktopNotificationsUserInactivityThreshold": 10, + "DesktopNotificationsForLoadedChannel": true, + "ShowPlaceholderForBlockedMessages": true, + "ShowUpdateNotifications": true, + "DontShowUpdateNotificationFor": "", + "Accounts": null, + "IndicateChannelAccessRestriction": false, + "ShowBottomBar": true, + "ShowNicknames": true, + "ShowReactionsInline": true, + "FileOpenHandlers": {}, + "FileOpenSaveFilesPermanently": false, + "FileDownloadSaveLocation": "~/{{ if eq .chezmoi.os "darwin" }}D{{ else }}d{{ end }}ownloads" +} diff --git a/dot_config/gemlog.sh/config.sh b/dot_config/gemlog.sh/config.sh @@ -0,0 +1,20 @@ +export global_title="A Gemlog by FIGBERT" +export global_description="A collection of my ramblings recorded in the annals of the capsule's flight computer." +export global_url="gemini://figbert.com/log/" +export global_author="FIGBERT" +export global_author_email="figbert@figbert.com" +export global_author_url="gemini://figbert.com/" +export global_license="CC BY 4.0" + +export gemlog_feed="atom.xml" +export number_of_feed_articles="50" +export feed_base_url="gemini://figbert.com/log/" +export feed_web_url="https://figbert.com/posts/" + +export index="index.gmi" + +export use_year_divider=false +export use_month_divider_nl=false +export use_month_divider_hd=false + +export gemlog_sh_link="https://git.figbert.com/FIGBERT/gemlog.sh" diff --git a/dot_config/gemlog.sh/footer.gmi b/dot_config/gemlog.sh/footer.gmi @@ -0,0 +1,4 @@ + +────────────────── +=> atom.xml Subscribe to the atom feed +=> / Back to capsule root diff --git a/dot_config/gemlog.sh/header.gmi b/dot_config/gemlog.sh/header.gmi @@ -0,0 +1,24 @@ +# A Gemlog by FIGBERT + +``` +69 66 79 6F 75 77 69 6C 6C 69 74 69 74 69 73 6E 6F 64 72 65 61 6D + + ,d8888b d8, d8b + 88P' `8P ?88 d8P +d888888P 88b d888888P + ?88' 88b d888b8b 888888b d8888b 88bd88b ?88' + 88P 88Pd8P' ?88 88P `?8bd8b_,dP 88P' ` 88P + d88 d88 88b ,88b d88, d8888b d88 88b +d88' d88' `?88P'`88bd88'`?88P'`?888P'd88' `?8b + )88 + ,88P __ ___ ______ ______ ____ ___ _______ + `?8888P |. | /_ |____ ||____ | |__ |_ | ___ | + | | | | | | | | | | |_|\_\ | | + | |___| | | |_____| |_____| | _____| | + |_______| |_/________/____/\_\ |_______| + +69 66 79 6F 75 77 69 6C 6C 69 74 69 74 69 73 6E 6F 64 72 65 61 6D +``` + +A collection of my ramblings recorded in the annals of the capsule's flight computer. + diff --git a/dot_config/git/template/HEAD b/dot_config/git/template/HEAD @@ -0,0 +1 @@ +ref: refs/heads/main diff --git a/dot_config/nvim/init.vim.tmpl b/dot_config/nvim/init.vim.tmpl @@ -0,0 +1,75 @@ +" customize editor +set number +set tabstop=2 +set softtabstop=2 +set shiftwidth=2 +set autoindent +set expandtab +set wrap +set showmode +set showcmd +set hlsearch +set incsearch +set guicursor= + +" customize file browser +let g:netrw_liststyle = 3 +let g:netrw_browse_split = 4 +let g:netrw_winsize = 30 +let g:netrw_banner = 0 + +" customize vimwiki +let g:vimwiki_list = [{'path': '~/workspace/wiki/'}] +"" set glt to toggle todos +noremap glt :VimwikiToggleListItem<Cr> +"" automatically update links on read diary +command! Diary VimwikiDiaryIndex +augroup vimwikigroup + autocmd! + autocmd BufRead,BufNewFile diary.wiki VimwikiDiaryGenerateLinks +augroup end + +" customize controls +noremap <Up> <Nop> +noremap <Down> <Nop> +noremap <Left> <Nop> +noremap <Right> <Nop> +nnoremap <C-p> :Files<Cr> +tnoremap <esc> <C-\><C-N> + +{{ if eq .chezmoi.os "darwin" -}} +" provider configs +let g:python3_host_prog = '{{ .chezmoi.homeDir }}/.pyenv/versions/py3nvim/bin/python' +{{- end }} + +" fzf vim integration +set rtp+=/usr/local/opt/fzf + +" limelight.vim config +let g:limelight_conceal_ctermfg = 240 +autocmd! User GoyoEnter Limelight +autocmd! User GoyoLeave Limelight! + +" vim-plug setup +call plug#begin() + +" syntax highlighting +Plug 'chr4/nginx.vim' +Plug 'evanleck/vim-svelte' +Plug 'cespare/vim-toml' +Plug 'zah/nim.vim' +Plug 'pirmd/gemini.vim' +Plug 'keith/swift.vim' +Plug 'habamax/vim-godot' +" tools +Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } +Plug 'junegunn/fzf.vim' +Plug 'tpope/vim-fugitive' +Plug 'vim-scripts/netrw.vim' +Plug 'vimwiki/vimwiki' +" aesthetics +Plug 'vim-airline/vim-airline' +Plug 'junegunn/goyo.vim' +Plug 'junegunn/limelight.vim' + +call plug#end() diff --git a/dot_config/phetch/phetch.conf b/dot_config/phetch/phetch.conf @@ -0,0 +1,2 @@ +tls yes +emoji yes diff --git a/dot_config/redshift/redshift.conf.tmpl b/dot_config/redshift/redshift.conf.tmpl @@ -0,0 +1,5 @@ +[redshift] +location-provider=manual +[manual] +lat={{ .coords.lat }} +lon={{ .coords.lon }} diff --git a/dot_config/spotify-tui/client.yml.tmpl b/dot_config/spotify-tui/client.yml.tmpl @@ -0,0 +1,5 @@ +{{- if eq .chezmoi.os "darwin" -}} + {{- template "spotify-tui" .spotifytui.mac -}} +{{- else if eq .chezmoi.os "linux" -}} + {{- template "spotify-tui" .spotifytui.linux -}} +{{- end -}} diff --git a/dot_config/spotifyd/spotifyd.conf.tmpl b/dot_config/spotifyd/spotifyd.conf.tmpl @@ -0,0 +1,28 @@ +[global] +username = "{{ .spotifyd.username }}" +password = "{{ (bitwarden "item" "spotify").login.password }}" + +device_name = "spotifyd" +device_type = "computer" + +cache_path = "{{ .chezmoi.homedir }}/.config/spotifyd/cache" +no_audio_cache = false +{{ if ne .chezmoi.os "darwin" }} +use_mpris = false +device = "default" +control = "default" +{{ end }} +bitrate = 320 +initial_volume = "90" +volume_normalisation = true +normalisation_pregain = -10 + +{{ if eq .chezmoi.os "darwin" -}} +backend = "rodio" +volume_controller = "softvol" +{{- else -}} +backend = "alsa" +volume_controller = "alsa" +{{ end }} +mixer = "PCM" +zeroconf_port = 1234 diff --git a/dot_config/starship.toml b/dot_config/starship.toml @@ -0,0 +1,18 @@ +add_newline = false + +[line_break] +disabled = true +[character] +success_symbol = "[✡︎](bold blue)" +error_symbol = "[✡︎](bold red)" +vicmd_symbol = "[✡︎](bold green)" +[battery] +[[battery.display]] +threshold = 10 +style = "bold red" +[[battery.display]] +threshold = 30 +style = "bold yellow" + +[username] +show_always = true diff --git a/dot_gitconfig.tmpl b/dot_gitconfig.tmpl @@ -0,0 +1,25 @@ +[user] + name = FIGBERT + email = figbert@figbert.com + signingkey = 67F1598D607A844B +[core] + editor = nvim + pager = delta +[filter "lfs"] + clean = git-lfs clean -- %f + smudge = git-lfs smudge -- %f + process = git-lfs filter-process + required = true +[commit] + gpgSign = true +[init] + templateDir = ~/.config/git/template/ + defaultBranch = main +[pull] + rebase = false +[gpg] + program = gpg +[delta] + line-numbers = true +[credential] + helper = {{ if eq .chezmoi.os "darwin" }}osxkeychain{{ else }}cache{{ end }} diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl @@ -0,0 +1,30 @@ +# variables +export PATH="{{ if eq .chezmoi.os "darwin" }}/usr/local/opt/openssl@1.1/bin:{{ end }}${HOME}/.cargo/bin:${HOME}/go/bin:${HOME}/.local/bin:${PATH}" +export BW_SESSION="{{ .zsh.bw }}" +export PYENV_VIRTUALENV_DISABLE_PROMPT=1 +export EDITOR="/usr/local/bin/nvim" +export ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=8" +{{ if eq .chezmoi.os "darwin" -}} +# zsh autosuggestions +source /usr/local/share/zsh-autosuggestions/zsh-autosuggestions.zsh +{{ end -}} +# fzf configuration +[ -f ~/.config/fzf/fzf.zsh ] && source ~/.config/fzf/fzf.zsh +# aliases +alias vi="nvim" +alias vim="nvim" +alias i2p="i2prouter" +alias ghidra="ghidraRun" +alias m2h="mosh -p 60000 home" +alias rsync="rsync --progress" +alias l="exa -la --group-directories-first" +alias lv="exa -l --group-directories-first" +{{ if eq .chezmoi.os "darwin" -}} +alias fix-damaged="xattr -cr" +alias cordless="cordless -config-dir ~/.config/cordless" +alias godot="/Applications/Godot.app/Contents/MacOS/Godot" +{{ end -}} +# evals +eval "$(starship init zsh)" +eval "$(pyenv init -)" +#eval "$(pyenv virtualenv-init -)" diff --git a/private_dot_ssh/config.tmpl b/private_dot_ssh/config.tmpl @@ -0,0 +1,17 @@ +Host * + KexAlgorithms curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256 + HostKeyAlgorithms ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,ssh-rsa + Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr + MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,umac-128@openssh.com + ChallengeResponseAuthentication no + PasswordAuthentication no + PubkeyAuthentication yes + UseRoaming no +Host home + HostName figbert.com + User figbert + IdentityFile ~/.ssh/id_home +Host remarkable + HostName {{ .ssh.remarkable }} + User root + IdentityFile ~/.ssh/id_remarkable diff --git a/private_dot_ssh/known_hosts.tmpl b/private_dot_ssh/known_hosts.tmpl @@ -0,0 +1,2 @@ +figbert.com,135.181.44.54 ssh-ed25519 {{ .ssh.hosts.home }} +{{ .ssh.remarkable }} ssh-rsa {{ .ssh.hosts.remarkable }}