From 3fc1054206097ff2644c33b20ead6944df9b0e73 Mon Sep 17 00:00:00 2001 From: Michael Housh Date: Tue, 1 Apr 2025 11:58:35 -0400 Subject: [PATCH] feat: Updates lazyvim configuration, adds some configuration files. --- ghostty/config | 2 +- gopass/config | 2 -- nvim/lazynvim/lua/plugins/snacks.lua | 42 ++++++++++++++++++++++++++++ zsh/config/.zshenv | 9 +++--- zsh/config/functions/n | 2 +- 5 files changed, 49 insertions(+), 8 deletions(-) create mode 100644 nvim/lazynvim/lua/plugins/snacks.lua diff --git a/ghostty/config b/ghostty/config index c1794f7..d1be821 100644 --- a/ghostty/config +++ b/ghostty/config @@ -10,7 +10,7 @@ window-save-state = always # NOTE: This setting removes tabs, rounded borders, and window controls. # Also makes some of the below macos-titlebar-* things not matter, but # will take affect if this is set to true. -window-decoration = false +window-decoration = true copy-on-select = true quit-after-last-window-closed = true diff --git a/gopass/config b/gopass/config index 0c3440d..609f0d5 100644 --- a/gopass/config +++ b/gopass/config @@ -3,11 +3,9 @@ [recipients] hash = b73e3c328517ad0b8a03ab1ba113e117595d40ae355f1e42984a8f8144bafc4a [mounts "servers"] - path = /Users/michael/.local/share/gopass/stores/servers [recipients "homelab"] hash = e4e019251bcd688aa1691b6b4363a9798593f4aed464afb63d11149ea771b4e0 [mounts "homelab"] - path = /Users/michael/.local/share/gopass/stores/homelab [recipients "new-test"] hash = 3199e2acda60d6f17a15882ba11749feda9775cf848554c8f04f12bc84521fd3 [mounts "new-test"] diff --git a/nvim/lazynvim/lua/plugins/snacks.lua b/nvim/lazynvim/lua/plugins/snacks.lua new file mode 100644 index 0000000..2197719 --- /dev/null +++ b/nvim/lazynvim/lua/plugins/snacks.lua @@ -0,0 +1,42 @@ +-- NOTE: Header looks jacked up here, but fine when rendered in the ui. +return { + "folke/snacks.nvim", + opts = { + picker = { + hidden = true, + ignored = true + }, + dashboard = { + row = nil, + col = nil, + preset = { + header = [[ + * + +++++ + +++++++++ + ==+++++++++++ + +===:+++++++++++* + +======--+++++++++++*##+==== + +==========:=+++++++++++#+==== + +=============-=++++++++++++==== + +================-:+++++++++++++== + +===================--++++++++++++++* + +======================--+++++++++++++++* + =========================-++++++++++++++++ + ==========================:+++++++++++++++ + ===========================:++++++++++++++ + ===========================-.-++++++++++++ + ===========================-::.=++++++++++ + ===========================----..=++++++++ + ===========================------..:=+++++ + ===========================--------:...-++ + ===========================------------:.: + ===========================--------------- + ===========================--------------- + ===========================--------------- +]], + }, + + }, + }, +} diff --git a/zsh/config/.zshenv b/zsh/config/.zshenv index dbf433d..58b1ecc 100755 --- a/zsh/config/.zshenv +++ b/zsh/config/.zshenv @@ -26,16 +26,18 @@ export GITUSER="m-housh" export GIT_DISCOVERY_ACROSS_FILESYSTEM=1 # Directories +export ARCHIVE="/Volumes/Archive" +export BUCKET="/Volumes/Bucket" +export REPOS="/Volumes/Bucket/Repos" +export DRIVE="/Volumes/Personal-Drive" + export ANSIBLE_LOCAL="$REPOS/ansible" export ANSIBLE_GEN_DIR="$ANSIBLE_LOCAL/ansible-gen-playbook" export ANSIBLE_MACOS_PLAYBOOK_DIR="$HOME/ansible-macos-playbook" -export ARCHIVE="/Volumes/Archive" -export BUCKET="/Volumes/Bucket" export CONSULTS="$DRIVE/Consults" export DOTFILES="$HOME/.dotfiles" export DOCUMENTS="$HOME/Documents" export DOWNLOADS="$HOME/Downloads" -export DRIVE="/Volumes/Personal-Drive" export GHREPOS="$REPOS/github.com" export LOCAL_REPOS="$REPOS/local" export LOCAL_ENV="$XDG_DATA_HOME/zsh/env.zsh" @@ -43,7 +45,6 @@ export MYZSHRC="$ZDOTDIR/.zshrc" export NAP_CONFIG="$HOME/.config/nap/config.yaml" export PDFS="$HOME/Library/Mobile Documents/com~apple~Preview/Documents" export PROPOSALS="$HOME/Library/Mobile Documents/com~apple~CloudDocs/Work/Proposals" -export REPOS="/Volumes/Bucket/Repos" export SCREENSHOTS="$BUCKET/Pictures/Screenshots" export SCRIPTS="$XDG_DATA_HOME/scripts" export SITES="$GHREPOS/sites" diff --git a/zsh/config/functions/n b/zsh/config/functions/n index 89f9378..a7999f0 100755 --- a/zsh/config/functions/n +++ b/zsh/config/functions/n @@ -20,6 +20,6 @@ function n() { # && return 0 # fi - nvim "$1" + nvim "$@" }