theniceboy/README.md
2025-08-28 13:16:42 -07:00

3.8 KiB

My Config

中文版

This config folder includes configurations for various development tools and applications.

Deploy

Quick Setup

Run the deployment script to install all tools and configure symlinks:

./deploy.sh

The script is idempotent - you can run it multiple times safely. It will:

  • Install/update Homebrew packages
  • Set up zsh configuration sourcing
  • Create configuration symlinks (tmux, claude)
  • Skip already installed packages

Manual Homebrew Installation

If you need to install Homebrew manually:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Apps

Claude Code Voice Configuration

This config includes a directory-based voice system for Claude Code that uses macOS text-to-speech.

Voice Commands

  • /voice-on - Enable text-to-speech for current directory
  • /voice-off - Disable text-to-speech for current directory

Selecting and Downloading High Quality System Voices

For the best text-to-speech experience, download high-quality system voices:

  1. Open System PreferencesAccessibilitySpoken Content
  2. Click the info icon (ⓘ) next to the "System Voice" dropdown
  3. Search for "Siri" to find the highest quality voices
  4. Download Siri voices - these are the premium, neural-powered voices
  5. Select your preferred Siri voice in the System Voice dropdown

Recommended: Siri voices provide the most natural speech quality but require downloading additional voice data.

Voice Database

Voice settings are stored per-directory in ~/.claude/voice-db.json and automatically created by the scripts.

Other Applications

  • tmux: Terminal multiplexer with custom configuration
  • neovim: Modern text editor
  • yazi: Terminal file manager
  • lazygit: TUI for git operations
Legacy Configuration (Click to expand)

My scripts are in this repo.

This folder includes i3 and alacritty config, however, I'm using dwm and st now.

Ranger

Use pip install ueberzug and ranger-git

Mutt Email Setup

In ~/.gnupg/gpg-agent.conf:

default-cache-ttl 34560000
max-cache-ttl 34560000

If this doesn't work, try pam-gnupg:

yay -S pam-gnupg-git

And in /etc/pam.d/system-local-login add:

auth     optional  pam_gnupg.so
session  optional  pam_gnupg.so

Input Methods

Install: fcitx fcitx-im fcitx-googlepinyin fcitx-configtool

And in /etc/X11/xinit/xinitrc:

export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"

Note: Fcitx users need to set the first input method to be Keyboard - layout

Fonts

Locale Configuration

In locale.conf:

LANG=en_US.UTF-8
LC_ADDRESS=en_US.UTF-8
LC_IDENTIFICATION=en_US.UTF-8
LC_MEASUREMENT=en_US.UTF-8
LC_MONETARY=en_US.UTF-8
LC_NAME=en_US.UTF-8
LC_NUMERIC=en_US.UTF-8
LC_PAPER=en_US.UTF-8
LC_TELEPHONE=en_US.UTF-8
LC_TIME=en_US.UTF-8

Font Recommendations

  • Main Font: Source Code Pro and nerd-fonts-source-code-pro
  • Noto Fonts: Install noto-fonts (not -all - it's bloated). Check /usr/share/fonts/noto

Emoji Fonts

yay -S ttf-linux-libertine ttf-inconsolata ttf-joypixels ttf-twemoji-color noto-fonts-emoji ttf-liberation ttf-droid

Chinese Fonts

yay -S wqy-bitmapfont wqy-microhei wqy-microhei-lite wqy-zenhei adobe-source-han-mono-cn-fonts adobe-source-han-sans-cn-fonts adobe-source-han-serif-cn-fonts

GTK Theme

Using adapta-gtk-theme and arc-icon-theme.

Arch Packages

See my-packages.txt for complete package list.