feat: update configs
All checks were successful
Code Analysis / SonarQube (push) Successful in 1m26s
Node.js CI / Lint and Test (push) Successful in 1m29s

This commit is contained in:
Naomi Carrigan 2025-03-05 14:57:10 -08:00
parent 73a44b0bf9
commit 05b0763366
Signed by: naomi
SSH Key Fingerprint: SHA256:rca1iUI2OhAM6n4FIUaFcZcicmri0jgocqKiTTAfrt8

View File

@ -2159,13 +2159,6 @@ The zsh config goes in `~/.zshrc`.
Naomi uses Oh My ZSH instead of bash. Naomi uses Oh My ZSH instead of bash.
```bash ```bash
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
#################### ####################
# Dotfile for Oh My Zsh. # Dotfile for Oh My Zsh.
# Installs on top of zsh, # Installs on top of zsh,
@ -2177,36 +2170,16 @@ fi
# Path to your Oh My Zsh installation. # Path to your Oh My Zsh installation.
export ZSH="$HOME/.oh-my-zsh" export ZSH="$HOME/.oh-my-zsh"
# Theme
ZSH_THEME="powerlevel10k/powerlevel10k"
# Plugins # Plugins
plugins=(git zsh-256color zsh-autosuggestions zsh-syntax-highlighting) plugins=(git zsh-256color zsh-autosuggestions zsh-syntax-highlighting)
source $ZSH/oh-my-zsh.sh source $ZSH/oh-my-zsh.sh
# User configuration
####################
# Load nvm on arch
source /usr/share/nvm/init-nvm.sh
# Load spicetify
export PATH=$PATH:/home/naomi/.spicetify
##################
# Aliases
#################
# We're lazy. :3 # We're lazy. :3
alias zshrc="source ~/.zshrc" alias zshrc="source ~/.zshrc"
alias hyprconf="emacs -nw ~/.config/hypr/hyprland.conf"
# We hate nano # We hate nano
alias nano="emacs -nw" alias nano="emacs -nw"
alias code="codium ." alias code="pulsar ."
# We hate sudo more
# alias sudo="doas"
# Listing files # Listing files
alias ls="eza -ahl --extended --octal-permissions --git -g" alias ls="eza -ahl --extended --octal-permissions --git -g"
@ -2250,12 +2223,8 @@ alias sc="cd ~/code/streamcord"
alias dg="cd ~/code/deepgram" alias dg="cd ~/code/deepgram"
alias naomi="cd ~/code/naomi" alias naomi="cd ~/code/naomi"
alias st="hyprwatch --show"
alias hug="curl -L https://api.github.com/octocat\?s\=You%20deserve%20a%20hug" alias hug="curl -L https://api.github.com/octocat\?s\=You%20deserve%20a%20hug"
alias obs="~/obs/usr/bin/obs"
alias tunnel2="cloudflared tunnel --config ~/.cloudflared/local2.yml run local2" alias tunnel2="cloudflared tunnel --config ~/.cloudflared/local2.yml run local2"
alias tunnel1="cloudflared tunnel --config ~/.cloudflared/local.yml run local" alias tunnel1="cloudflared tunnel --config ~/.cloudflared/local.yml run local"
@ -2267,15 +2236,13 @@ alias matrix="cmatrix -r"
alias pipe="pipes.sh" alias pipe="pipes.sh"
alias hacker="hollywood" alias hacker="hollywood"
# Run this on terminal load, because it's pretty.
hyfetch
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
# THE FUCK # THE FUCK
eval $(thefuck --alias) eval $(thefuck --alias)
alias shit="fuck"
alias damn="fuck"
alias crap="fuck"
# pnpm # pnpm
export PNPM_HOME="/home/naomi/.local/share/pnpm" export PNPM_HOME="/home/naomi/.local/share/pnpm"
case ":$PATH:" in case ":$PATH:" in
@ -2289,6 +2256,112 @@ export SONAR_SCANNER_HOME="/opt/sonar-scanner"
export PATH=${SONAR_SCANNER_HOME}/bin:${PATH} export PATH=${SONAR_SCANNER_HOME}/bin:${PATH}
# dotnet # dotnet
export PATH="$PATH:/home/naomi/.dotnet/tools" export PATH="$PATH:/home/naomi/.dotnet/tools"
# Starship
eval "$(starship init zsh)"
```
#### 3.2.1. `starship`
Naomi uses `starship` to manage her customised shell prompt. This file goes in `~/.config/starship.toml`.
Note that her config requires your terminal be using a Nerd Font, or the symbols will not render.
```toml
cat ~/.config/starship.toml
"$schema" = 'https://starship.rs/config-schema.json'
format = '''
┌─  $username$hostname$fill$git_commit$git_branch󰊢 ─┐
│  $directory$fill$git_state$git_metrics$git_status│
└─  $dotnet$nodejs$golang$python$dart$c$gradle$java$kotlin$php$ruby$rust$package$fill$status$cmd_duration$time ─┘'''
add_newline = false
[fill]
symbol = " "
[username]
show_always = true
format = '[$user]($style) @ '
[hostname]
ssh_only = false
format = '[$hostname]($style)'
[directory]
truncate_to_repo = true
truncation_length = 5
truncation_symbol = ""
[nodejs]
format = '[$symbol($version )]($style)'
[dotnet]
format = '[$symbol($version )(🎯 $tfm )]($style)'
detect_extensions = ['csproj', 'fsproj', 'xproj', 'sln']
[golang]
format = '[$symbol($version )]($style)'
[python]
format = '[${symbol}${pyenv_prefix}(${version} )(\($virtualenv\) )]($style)'
[dart]
format = '[$symbol($version )]($style)'
[c]
format = '[$symbol($version(-$name) )]($style)'
[gradle]
format = '[$symbol($version )]($style)'
[java]
format = '[${symbol}(${version} )]($style)'
[kotlin]
format = '[$symbol($version )]($style)'
[php]
format = '[$symbol($version )]($style)'
[ruby]
format = '[$symbol($version )]($style)'
[rust]
format = '[$symbol($version )]($style)'
[cmd_duration]
format = 'took [$duration]($style) at '
min_time = 0
[git_commit]
only_detached = false
format = '[$hash$tag]($style) '
[git_status]
conflicted = '!'
untracked = 'u'
modified = 'm'
staged = 's'
renamed = 'r'
deleted = 'd'
stashed = ''
[git_metrics]
disabled = false
[package]
format = '[$symbol$version]($style) '
display_private = true
[time]
disabled = false
format = '[$time]($style) '
[status]
format = '[$symbol $status]($style) '
disabled = false
success_symbol = '✅'
``` ```
### 3.3. `pacman` ### 3.3. `pacman`
@ -3284,11 +3357,13 @@ This file goes in `~/.config/wofi/style.css`.
[global] [global]
follow=mouse follow=mouse
width=(0, 750) width=(0, 750)
height=(0, 1000) height=(0, 250)
notification_limit=10 notification_limit=10
origin=center origin=center
icon_corner_radius=10 icon_corner_radius=10
sort=update sort=update
word_wrap=false
ellipsize=end
layer=overlay layer=overlay
show_age_threshold=-1 show_age_threshold=-1
stack_duplicates=false stack_duplicates=false
@ -3305,228 +3380,72 @@ This file goes in `~/.config/wofi/style.css`.
frame_color="#ffefef" frame_color="#ffefef"
``` ```
## 4. Code Editor ## 4. Code Editors
Naomi uses VSCodium as her current code editor. These are the code editors Naomi uses.
### 4.1. Settings ### 4.1. Pulsar
This is Naomi's configuration. It goes in `~/.config/VSCodium/User/settings.json`. Naomi uses Pulsar as her current code editor.
```json #### 4.1.1. Settings
{
"workbench.iconTheme": "vscode-icons", This is Naomi's configuration. It goes in `~/.pulsar/config.cson`.
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode" ```cson
}, "*":
"[json]": { core:
"editor.defaultFormatter": "esbenp.prettier-vscode" autoHideMenuBar: true
}, disabledPackages: [
"[jsonc]": { "github"
"editor.defaultFormatter": "esbenp.prettier-vscode" "open-on-github"
}, ]
"[typescriptreact]": { themes: [
"editor.defaultFormatter": "esbenp.prettier-vscode" "sakura-dreams-ui"
}, "sakura-dreams-syntax"
"javascript.preferences.importModuleSpecifierEnding": "js", ]
"javascript.updateImportsOnFileMove.enabled": "always", "exception-reporting":
"typescript.preferences.importModuleSpecifierEnding": "js", userId: "fbb8fc29-3387-4224-9b23-5509b810282a"
"typescript.preferences.preferTypeOnlyAutoImports": true, "pulsar-discord":
"[javascript]": { troubleShooting:
"editor.defaultFormatter": "esbenp.prettier-vscode" noDiscordNotification: true
}, "spell-check":
"typescript.updateImportsOnFileMove.enabled": "always", grammars: [
"[html]": { "source.asciidoc"
"editor.defaultFormatter": "esbenp.prettier-vscode" "source.gfm"
}, "text.git-commit"
"editor.fontFamily": "'OpenDyslexicM Nerd Font'", "text.plain"
"files.exclude": { "text.plain.null-grammar"
"**/node_modules/": true "source.rst"
}, "text.restructuredtext"
"editor.fontLigatures": true, "source string"
"editor.codeLensFontFamily": "'OpenDyslexicM Nerd Font'", "source comment"
"editor.inlineSuggest.fontFamily": "'OpenDyslexicM Nerd Font'", ]
"editor.inlayHints.fontFamily": "'OpenDyslexicM Nerd Font'", locales: [
"terminal.integrated.fontFamily": "'OpenDyslexicM Nerd Font'", "en-GB"
"notebook.output.fontFamily": "'OpenDyslexicM Nerd Font'", ]
"chat.editor.fontFamily": "'OpenDyslexicM Nerd Font'", welcome:
"markdown.preview.fontFamily": "'OpenDyslexicM Nerd Font'", showChangeLog: false
"colorize.languages": [ showOnStartup: false
"html",
"javascript",
"typescript",
"json",
"typescriptreact",
"css",
"sass",
"scss",
"less",
"postcss",
"sss",
"stylus",
"xml",
"svg"
],
"cSpell.language": "en-GB",
"http.proxyAuthorization": null,
"github.copilot.enable": {
"*": true
},
"discord.detailsIdling": "She's not editing a file...",
"discord.detailsEditing": "{file_name}:L{current_line}:{current_column}",
"discord.lowerDetailsEditing": "{workspace}/{git_branch}",
"discord.largeImageIdling": "Nothing to see here...",
"discord.lowerDetailsIdling": "Off in lala land...",
"editor.inlayHints.enabled": "off",
"workbench.colorCustomizations": {
"editor.lineHighlightBackground": "#1073cf2d",
"editor.lineHighlightBorder": "#9fced11f"
},
"editor.wordWrap": "off",
"diffEditor.wordWrap": "off",
"editor.guides.indentation": false,
"editor.guides.bracketPairs": false,
"sonarlint.connectedMode.connections.sonarcloud": [],
"workbench.colorTheme": "Ocean Breeze",
"terminal.integrated.lineHeight": 1,
"[css]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"debug.console.fontFamily": "'OpenDyslexicM Nerd Font'",
"scm.inputFontFamily": "'OpenDyslexicM Nerd Font'",
"errorLens.fontFamily": "'OpenDyslexicM Nerd Font'",
"gitlens.currentLine.fontFamily": "'OpenDyslexicM Nerd Font'",
"gitlens.blame.fontFamily": "'OpenDyslexicM Nerd Font'",
"sonarlint.disableTelemetry": true,
"explorer.confirmDelete": false,
"wordcounter.include_eol_chars": false,
"wordcounter.side.left": ["word", "char"],
"explorer.confirmDragAndDrop": false,
"vscord.app.name": "VSCodium",
"vscord.status.buttons.button1.active.label": "Wanna chat?",
"vscord.status.buttons.button1.active.url": "https://chat.nhcarrigan.com",
"vscord.status.buttons.button2.active.enabled": true,
"vscord.status.buttons.button2.active.url": "https://chat.nhcarrigan.com",
"vscord.status.buttons.button2.active.label": "Wanna chat?",
"vscord.status.buttons.button2.enabled": true,
"vscord.status.buttons.button2.idle.enabled": true,
"vscord.status.buttons.button2.idle.label": "Wanna chat?",
"vscord.status.buttons.button2.idle.url": "https://chat.nhcarrigan.com",
"vscord.status.buttons.button2.inactive.enabled": true,
"vscord.status.buttons.button2.inactive.label": "Wanna chat?",
"vscord.status.buttons.button2.inactive.url": "https://chat.nhcarrigan.com",
"vscord.status.buttons.button2.git.active.enabled": true,
"vscord.status.buttons.button2.git.active.label": "Wanna chat?",
"vscord.status.buttons.button2.git.active.url": "https://chat.nhcarrigan.com",
"vscord.status.buttons.button2.git.idle.enabled": true,
"vscord.status.buttons.button2.git.idle.label": "Wanna chat?",
"vscord.status.buttons.button2.git.inactive.enabled": true,
"vscord.status.buttons.button2.git.idle.url": "https://chat.nhcarrigan.com",
"vscord.status.buttons.button2.git.inactive.label": "Wanna chat?",
"vscord.status.buttons.button2.git.inactive.url": "https://chat.nhcarrigan.com",
"sonarlint.connectedMode.connections.sonarqube": [
{
"serverUrl": "https://quality.nhcarrigan.com",
"connectionId": "Naomi"
}
],
"window.menuBarVisibility": "toggle"
}
``` ```
### 4.2. Extensions #### 4.1.2. Extensions
Naomi uses the following extensions. This list is generated with `codium --list-extensions`. Naomi uses the following extensions sourced from the Pulsar marketplace. This list does not include the core extensions bundled with the editor.
```txt ```txt
1password.op-vscode pulsar-discord
aaron-bond.better-comments
addy2142.avalonia-templates
adpyke.codesnap
ahmadalli.vscode-nginx-conf
anchoreinc.grype-vscode
aquasecurityofficial.trivy-vulnerability-scanner
astro-build.astro-vscode
avaloniateam.vscode-avalonia
bmewburn.vscode-intelephense-client
bradlc.vscode-tailwindcss
bungcip.better-toml
chrmarti.regex
dabbinavo.xamlstyler
dart-code.dart-code
dart-code.flutter
dbaeumer.vscode-eslint
deepgram.vibe-coder
donjayamanne.githistory
eamodio.gitlens
esbenp.prettier-vscode
firefox-devtools.vscode-firefox-debug
fwcd.kotlin
github.copilot
github.copilot-chat
golang.go
haskell.haskell
ionide.ionide-fsharp
justusadam.language-haskell
jzmstrjp.color-the-tag-name
kirozen.wordcounter
leodevbro.blockman
leonardssh.vscord
mkxml.vscode-filesize
mrmlnc.vscode-scss
ms-dotnettools.csdevkit
ms-dotnettools.csharp
ms-dotnettools.dotnet-interactive-vscode
ms-dotnettools.vscode-dotnet-pack
ms-dotnettools.vscode-dotnet-runtime
ms-dotnettools.vscodeintellicode-csharp
ms-toolsai.jupyter
ms-toolsai.jupyter-keymap
ms-toolsai.jupyter-renderers
ms-toolsai.vscode-jupyter-cell-tags
ms-toolsai.vscode-jupyter-slideshow
ms-vscode.cmake-tools
ms-vscode.cpptools
ms-vscode.cpptools-extension-pack
ms-vscode.cpptools-themes
mskelton.npm-outdated
nhcarrigan.naomis-themes
oderwat.indent-rainbow
oracle.oracle-java
prisma.prisma
rebornix.ruby
redhat.java
rust-lang.rust-analyzer
sonarsource.sonarlint-vscode
streetsidesoftware.code-spell-checker
twxs.cmake
usernamehw.errorlens
visualstudioexptteam.intellicode-api-usage-examples
visualstudioexptteam.vscodeintellicode
vitest.explorer
vscjava.vscode-gradle
vscjava.vscode-java-debug
vscjava.vscode-java-dependency
vscjava.vscode-java-pack
vscjava.vscode-java-test
vscjava.vscode-maven
vscode-icons-team.vscode-icons
william-voyek.vscode-nginx
wingrunr21.vscode-ruby
wix.vscode-import-cost
xdebug.php-debug
yandeu.five-server
yoavbls.pretty-ts-errors
yutengjing.vscode-colorize-plus
yzane.markdown-pdf
ziglang.vscode-zig
``` ```
### 4.3. Emacs #### 4.1.3. Themes
Naomi uses her own custom built UI and Syntax themes, which can be found at https://git.nhcarrigan.com/nhcarrigan/pulsar-themes
### 4.2. Emacs
Naomi uses `emacs` for her terminal editing. Naomi uses `emacs` for her terminal editing.
#### 4.3.1. Config #### 4.2.1. Config
This goes in `~/.config/emacs/init.el`. This goes in `~/.config/emacs/init.el`.
@ -3705,7 +3624,7 @@ This goes in `~/.config/emacs/init.el`.
(load-theme 'sakura-dreams t) (load-theme 'sakura-dreams t)
``` ```
#### 4.3.2. Theme #### 4.2.2. Theme
This goes in `~/.config/emacs/themes/sakura-dreams-theme.el`. This goes in `~/.config/emacs/themes/sakura-dreams-theme.el`.