Skip to content

sabertazimi/dotfiles

dotfiles

Author LICENSE Code Size

Arch Linux Niri GNOME KDE Plasma TypeScript Python Rust Go Git Ghostty Zsh Bash Starship Neovim Rime MPV WakaTime

Hackable personal dotfiles managed with chezmoi.

Installation

Set up new machine:

sudo pacman -S chezmoi
chezmoi init --apply -v sabertazimi
git clone https://github.com/sabertazimi/dotfiles.git ~/dotfiles

See Arch Linux setup guide for detailed system configuration.

Configured Applications

Development

  • Cargo: Rust package manager with USTC mirror
  • Go: Go environment config file
  • Ripgrep: Enhanced search with web file types
  • Git: Conventional commit templates
  • Neovim: Hackable LazyVim configuration

Terminal & Shell

  • Zsh: Oh My Zsh with modern CLI tools (mise, zoxide, fzf, starship)
  • Ghostty: Modern Wayland terminal with dankcolors theme
  • Starship: Dynamic prompt via matugen (Material You theming)

Utilities

  • MPV: Hardware-accelerated video player
  • Satty: Wayland screenshot annotation tool
  • Fcitx5-Rime: Chinese input with vertical candidates and dark theme

Themes

  • Matugen: Material You color scheme generator from wallpaper

Wallpapers

Collection of wallpaper management scripts for Arch Linux:

  • Interactive or command-line usage
  • Automatic package installation
  • Copies Arch Linux, GNOME, and KDE Plasma wallpapers
  • .jxl to .png conversion for GNOME wallpapers
  • Resolution priority selection for KDE Plasma wallpapers
# Make scripts executable
chmod +x ~/dotfiles/wallpapers/*.sh

# Run interactive menu
~/dotfiles/wallpapers/install.sh

# Or run specific script
~/dotfiles/wallpapers/install.sh all        # All wallpapers
~/dotfiles/wallpapers/install.sh archlinux  # Arch Linux wallpapers
~/dotfiles/wallpapers/install.sh gnome      # GNOME wallpapers
~/dotfiles/wallpapers/install.sh kde        # KDE Plasma wallpapers

Wallpapers are copied to ~/.local/share/wallpapers/.

Requirements:

  • ImageMagick (for GNOME .jxl conversion)
  • archlinux-wallpaper
  • gnome-backgrounds
  • plasma-workspace-wallpapers

Shell Themes

Zsh Theme

Minimalistic zsh prompt theme for git users:

mkdir -p ~/.oh-my-zsh/custom/themes
cp ~/dotfiles/themes/zsh/dragon.zsh-theme ~/.oh-my-zsh/custom/themes/
sed -i 's/^ZSH_THEME=".*"/ZSH_THEME="dragon"/' ~/.zshrc
source ~/.zshrc

Zsh Theme

Bash Theme

Minimalistic bash prompt theme for git-bash on Windows:

mkdir -p ~/.oh-my-bash/custom/themes/dragon
cp ~/dotfiles/themes/bash/dragon.theme.sh ~/.oh-my-bash/custom/themes/dragon/
sed -i 's/^OSH_THEME=".*"/OSH_THEME="dragon"/' ~/.bashrc
source ~/.bashrc

Bash Theme

Caveats

Dotfiles not synced:

  • ~/.gitconfig, ~/.claude.json, ~/.claude/settings.json — contain keys and dynamically generated content
  • ~/.config/niri/config.kdl, ~/.config/DankMaterialShell/settings.json, ~/.local/state/DankMaterialShell/session.json — lengthy configuration files that are rarely modified, edited via sed -i instead of syncing to ensure new machines initialize to the corresponding version

License

MIT License Copyright (c) Sabertaz

Contact

GitHub Email X

About

Hackable personal dotfiles managed with chezmoi

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors