generated from nhcarrigan/template
feat: update configs
This commit is contained in:
parent
73a44b0bf9
commit
05b0763366
@ -2159,13 +2159,6 @@ The zsh config goes in `~/.zshrc`.
|
||||
Naomi uses Oh My ZSH instead of 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.
|
||||
# Installs on top of zsh,
|
||||
@ -2177,36 +2170,16 @@ fi
|
||||
# Path to your Oh My Zsh installation.
|
||||
export ZSH="$HOME/.oh-my-zsh"
|
||||
|
||||
# Theme
|
||||
ZSH_THEME="powerlevel10k/powerlevel10k"
|
||||
|
||||
# Plugins
|
||||
plugins=(git zsh-256color zsh-autosuggestions zsh-syntax-highlighting)
|
||||
|
||||
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
|
||||
alias zshrc="source ~/.zshrc"
|
||||
alias hyprconf="emacs -nw ~/.config/hypr/hyprland.conf"
|
||||
# We hate nano
|
||||
alias nano="emacs -nw"
|
||||
alias code="codium ."
|
||||
|
||||
# We hate sudo more
|
||||
# alias sudo="doas"
|
||||
alias code="pulsar ."
|
||||
|
||||
# Listing files
|
||||
alias ls="eza -ahl --extended --octal-permissions --git -g"
|
||||
@ -2250,12 +2223,8 @@ alias sc="cd ~/code/streamcord"
|
||||
alias dg="cd ~/code/deepgram"
|
||||
alias naomi="cd ~/code/naomi"
|
||||
|
||||
alias st="hyprwatch --show"
|
||||
|
||||
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 tunnel1="cloudflared tunnel --config ~/.cloudflared/local.yml run local"
|
||||
|
||||
@ -2267,15 +2236,13 @@ alias matrix="cmatrix -r"
|
||||
alias pipe="pipes.sh"
|
||||
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
|
||||
eval $(thefuck --alias)
|
||||
|
||||
alias shit="fuck"
|
||||
alias damn="fuck"
|
||||
alias crap="fuck"
|
||||
|
||||
# pnpm
|
||||
export PNPM_HOME="/home/naomi/.local/share/pnpm"
|
||||
case ":$PATH:" in
|
||||
@ -2289,6 +2256,112 @@ export SONAR_SCANNER_HOME="/opt/sonar-scanner"
|
||||
export PATH=${SONAR_SCANNER_HOME}/bin:${PATH}
|
||||
# dotnet
|
||||
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`
|
||||
@ -3284,11 +3357,13 @@ This file goes in `~/.config/wofi/style.css`.
|
||||
[global]
|
||||
follow=mouse
|
||||
width=(0, 750)
|
||||
height=(0, 1000)
|
||||
height=(0, 250)
|
||||
notification_limit=10
|
||||
origin=center
|
||||
icon_corner_radius=10
|
||||
sort=update
|
||||
word_wrap=false
|
||||
ellipsize=end
|
||||
layer=overlay
|
||||
show_age_threshold=-1
|
||||
stack_duplicates=false
|
||||
@ -3305,228 +3380,72 @@ This file goes in `~/.config/wofi/style.css`.
|
||||
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
|
||||
{
|
||||
"workbench.iconTheme": "vscode-icons",
|
||||
"[typescript]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
"[json]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
"[jsonc]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
"[typescriptreact]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
"javascript.preferences.importModuleSpecifierEnding": "js",
|
||||
"javascript.updateImportsOnFileMove.enabled": "always",
|
||||
"typescript.preferences.importModuleSpecifierEnding": "js",
|
||||
"typescript.preferences.preferTypeOnlyAutoImports": true,
|
||||
"[javascript]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
"typescript.updateImportsOnFileMove.enabled": "always",
|
||||
"[html]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
"editor.fontFamily": "'OpenDyslexicM Nerd Font'",
|
||||
"files.exclude": {
|
||||
"**/node_modules/": true
|
||||
},
|
||||
"editor.fontLigatures": true,
|
||||
"editor.codeLensFontFamily": "'OpenDyslexicM Nerd Font'",
|
||||
"editor.inlineSuggest.fontFamily": "'OpenDyslexicM Nerd Font'",
|
||||
"editor.inlayHints.fontFamily": "'OpenDyslexicM Nerd Font'",
|
||||
"terminal.integrated.fontFamily": "'OpenDyslexicM Nerd Font'",
|
||||
"notebook.output.fontFamily": "'OpenDyslexicM Nerd Font'",
|
||||
"chat.editor.fontFamily": "'OpenDyslexicM Nerd Font'",
|
||||
"markdown.preview.fontFamily": "'OpenDyslexicM Nerd Font'",
|
||||
"colorize.languages": [
|
||||
"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.1.1. Settings
|
||||
|
||||
This is Naomi's configuration. It goes in `~/.pulsar/config.cson`.
|
||||
|
||||
```cson
|
||||
"*":
|
||||
core:
|
||||
autoHideMenuBar: true
|
||||
disabledPackages: [
|
||||
"github"
|
||||
"open-on-github"
|
||||
]
|
||||
themes: [
|
||||
"sakura-dreams-ui"
|
||||
"sakura-dreams-syntax"
|
||||
]
|
||||
"exception-reporting":
|
||||
userId: "fbb8fc29-3387-4224-9b23-5509b810282a"
|
||||
"pulsar-discord":
|
||||
troubleShooting:
|
||||
noDiscordNotification: true
|
||||
"spell-check":
|
||||
grammars: [
|
||||
"source.asciidoc"
|
||||
"source.gfm"
|
||||
"text.git-commit"
|
||||
"text.plain"
|
||||
"text.plain.null-grammar"
|
||||
"source.rst"
|
||||
"text.restructuredtext"
|
||||
"source string"
|
||||
"source comment"
|
||||
]
|
||||
locales: [
|
||||
"en-GB"
|
||||
]
|
||||
welcome:
|
||||
showChangeLog: false
|
||||
showOnStartup: false
|
||||
```
|
||||
|
||||
### 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
|
||||
1password.op-vscode
|
||||
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
|
||||
pulsar-discord
|
||||
```
|
||||
|
||||
### 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.
|
||||
|
||||
#### 4.3.1. Config
|
||||
#### 4.2.1. Config
|
||||
|
||||
This goes in `~/.config/emacs/init.el`.
|
||||
|
||||
@ -3705,7 +3624,7 @@ This goes in `~/.config/emacs/init.el`.
|
||||
(load-theme 'sakura-dreams t)
|
||||
```
|
||||
|
||||
#### 4.3.2. Theme
|
||||
#### 4.2.2. Theme
|
||||
|
||||
This goes in `~/.config/emacs/themes/sakura-dreams-theme.el`.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user