Skip to content

Latest commit

 

History

History
65 lines (44 loc) · 1.4 KB

File metadata and controls

65 lines (44 loc) · 1.4 KB

Dotfiles

English | 中文

Shareable dotfiles for Linux desktop environment.

Warning

These dotfiles rely on some dependencies, including but not limited to utils, theme, pictures(for wallapaer). Please checking these and fix them by self.

Requirements

sync.sh requires rsync to copy configurations. Install it before using any install/backup commands:

# Arch Linux
sudo pacman -S rsync

# Debian/Ubuntu
sudo apt install rsync

# Fedora
sudo dnf install rsync

How to Use sync.sh

Quick Start

# See what's available
./sync.sh list

# Install all configurations
./sync.sh install

# Install specific configs
./sync.sh install sway waybar tmux

Commands

  • ./sync.sh list - Show available configurations
  • ./sync.sh install [configs...] - Install configs from repo to system
  • ./sync.sh backup [configs...] - Backup system configs to repo
  • ./sync.sh status [configs...] - Check sync status
  • ./sync.sh --dry-run - Preview changes without applying

Examples

# Install desktop environment
./sync.sh install sway waybar swaylock mako

# Install terminal setup
./sync.sh install tmux kitty zsh

# Backup your current configs
./sync.sh backup

# Preview what would be installed
./sync.sh install --dry-run

Configuration

Edit sync_config.toml to customize sync behavior, add/remove configurations, or change paths.