Compare commits

..

5 Commits

Author SHA1 Message Date
bfcbca14ce Adjust size 2025-10-13 00:18:43 -07:00
b5f733f750 Toggle WezTerm 2025-10-13 00:10:15 -07:00
42f931ba3c Use double line comments 2025-09-30 10:17:11 -07:00
6bd3a3697d Add alias 2025-09-25 09:21:59 -07:00
ccef0cc50b Add Sketchybar config 2025-08-11 21:32:40 -07:00
4 changed files with 51 additions and 27 deletions

View File

@ -21,18 +21,18 @@ shopt -s checkwinsize
export EDITOR=nvim export EDITOR=nvim
# ------------------------------------------------------------------------------ # ==============================================================================
# 1Password # 1Password
# ------------------------------------------------------------------------------ # ==============================================================================
# #
# Use the 1Password agent to manage ssh keys # Use the 1Password agent to manage ssh keys
# #
export SSH_AUTH_SOCK=~/Library/Group\ Containers/2BUA8C4S2C.com.1password/t/agent.sock export SSH_AUTH_SOCK=~/Library/Group\ Containers/2BUA8C4S2C.com.1password/t/agent.sock
# ------------------------------------------------------------------------------ # ==============================================================================
# XDG Base Directory Specification # XDG Base Directory Specification
# ------------------------------------------------------------------------------ # ==============================================================================
# #
# Define standard locations for configuration and data files # Define standard locations for configuration and data files
# #
@ -66,9 +66,9 @@ export NVM_DIR="/Users/corey/Library/Application Support/Herd/config/nvm"
# Less don't make a history file # Less don't make a history file
export LESSHISTFILE="/dev/null" export LESSHISTFILE="/dev/null"
# ------------------------------------------------------------------------------ # ==============================================================================
# PATH Configuration # PATH Configuration
# ------------------------------------------------------------------------------ # ==============================================================================
# #
# Set up the PATH environment variable with all necessary directories # Set up the PATH environment variable with all necessary directories
# #
@ -92,18 +92,18 @@ fi
# Export the final PATH # Export the final PATH
export PATH export PATH
# ------------------------------------------------------------------------------ # ==============================================================================
# Export terminal type # Export terminal type
# ------------------------------------------------------------------------------ # ==============================================================================
# #
# Set terminal to 256color mode for use with custom color schemes # Set terminal to 256color mode for use with custom color schemes
# #
export TERM="xterm-256color" export TERM="xterm-256color"
# ------------------------------------------------------------------------------ # ==============================================================================
# Prompt # Prompt
# ------------------------------------------------------------------------------ # ==============================================================================
# #
# Simple prompt matching Ubuntu's default style with colors # Simple prompt matching Ubuntu's default style with colors
# #
@ -188,9 +188,9 @@ PS1="\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\${GIT_PROMPT
export PYTHON_HISTORY="$HOME/.local/state/python_history" export PYTHON_HISTORY="$HOME/.local/state/python_history"
# ------------------------------------------------------------------------------ # ==============================================================================
# Shell History # Shell History
# ------------------------------------------------------------------------------ # ==============================================================================
# #
# #
@ -214,9 +214,9 @@ shopt -s histreedit
shopt -s histverify shopt -s histverify
shopt -s lithist shopt -s lithist
# ------------------------------------------------------------------------------ # ==============================================================================
# Tmux Configuration # Tmux Configuration
# ------------------------------------------------------------------------------ # ==============================================================================
# #
# Settings for Tmux integration # Settings for Tmux integration
# #
@ -225,9 +225,9 @@ if [[ ! $(tmux list-sessions) ]]; then
tmux new -s Tmux; tmux new -s Tmux;
fi fi
# ------------------------------------------------------------------------------ # ==============================================================================
# fzf # fzf
# ------------------------------------------------------------------------------ # ==============================================================================
# #
# https://github.com/junegunn/fzf # https://github.com/junegunn/fzf
# #
@ -291,27 +291,37 @@ export FZF_ALT_C_OPTS="
# ------------------------------------------------------------------------------ # ==============================================================================
# Mise # Mise
# ------------------------------------------------------------------------------ # ==============================================================================
# #
# #
# #
eval "$(mise activate bash)" eval "$(mise activate bash)"
# ------------------------------------------------------------------------------ # ==============================================================================
# Alias # Alias
# ------------------------------------------------------------------------------ # ==============================================================================
# #
# #
# #
alias ls='ls -CG' alias ls='ls -CG'
# ------------------------------------------------------------------------------ alias .='pwd'
alias d='chezmoi'
for i in $(seq 2 8); do
dots=$(printf '.%.0s' $(seq 1 $i))
paths=$(printf '../%.0s' $(seq 1 $((i - 1))))
alias "$dots"="cd $paths"
done
# ==============================================================================
# Zoxide # Zoxide
# ------------------------------------------------------------------------------ # ==============================================================================
# #
# Setup zsh completions and zoxide cd jumping # Setup zsh completions and zoxide cd jumping
# #

View File

@ -1,3 +1,17 @@
-- Auto-hide WezTerm when it loses focus
weztermAppWatcher = hs.application.watcher.new(function(appName, eventType, appObject)
if eventType == hs.application.watcher.deactivated and appName == "WezTerm" then
print("WezTerm lost focus, hiding...")
appObject:hide()
end
end)
weztermAppWatcher:start()
print("WezTerm auto-hide enabled")
-- Function to simulate key presses -- Function to simulate key presses
local function pressFn(mods, key) local function pressFn(mods, key)
if key == nil then if key == nil then

View File

@ -78,7 +78,7 @@ done
# only the properties deviating from the current defaults need to be set # only the properties deviating from the current defaults need to be set
sketchybar --add item chevron left \ sketchybar --add item chevron left \
--set chevron icon= label.drawing=off \ --set chevron icon="" label.drawing=off \
--add item front_app left \ --add item front_app left \
--set front_app icon.drawing=off script="$PLUGIN_DIR/front_app.sh" \ --set front_app icon.drawing=off script="$PLUGIN_DIR/front_app.sh" \
--subscribe front_app front_app_switched --subscribe front_app front_app_switched
@ -96,8 +96,8 @@ sketchybar --add item chevron left \
sketchybar --add item clock right \ sketchybar --add item clock right \
--set clock update_freq=10 icon=" " script="$PLUGIN_DIR/clock.sh" \ --set clock update_freq=10 icon=" " script="$PLUGIN_DIR/clock.sh" \
--add item volume right \ # --add item volume right \
--set volume script="$PLUGIN_DIR/volume.sh" \ # --set volume script="$PLUGIN_DIR/volume.sh" \
--subscribe volume volume_change \ --subscribe volume volume_change \
--add item battery right \ --add item battery right \
--set battery update_freq=120 script="$PLUGIN_DIR/battery.sh" \ --set battery update_freq=120 script="$PLUGIN_DIR/battery.sh" \

View File

@ -18,8 +18,8 @@ config.font = wezterm.font({
family = 'SF Mono', family = 'SF Mono',
weight = 'Regular' weight = 'Regular'
}) })
config.line_height = 1.3 config.line_height = 1.2
config.font_size = 13.2 config.font_size = 14
config.cell_width = 1 config.cell_width = 1
-- Cursor -- Cursor