Skip to content

Latest commit

 

History

History
107 lines (76 loc) · 3.18 KB

README.md

File metadata and controls

107 lines (76 loc) · 3.18 KB

Krasiyan's doftiles

Dotfiles configuration for GNU/Linux with either sway (Wayland) or i3 (X11). Also supporting macOS with AeroSpace.

Using Emacs (with a dummy friendly CUA setup) and Zsh (with Oh My Zsh).

Screenshots

  • i3

  • macOS

Setup

Dependencies

Generic

GNU/Linux

i3 setup

sway setup

ℹ️ Initial support for sway was added @ !1

MacOS

ℹ️ Initial support for MacOS was added @ !2

Cloning

  1. alias dotfiles='/usr/bin/git --git-dir=$HOME/dotfiles/ --work-tree=$HOME'
  2. git clone --bare https://github.com/krasiyan/dotfiles.git ~/dotfiles
  3. dotfiles checkout
  4. dotfiles config --local status.showUntrackedFiles no

MacOS setup snippets

  • Dump initial macOS defaults and diff them later:

    defaults read > defaults.pre
    
    # apply custom defaults; make manual settings changes
    
    defaults read > defaults.post
    
    git diff --no-index defaults.pre defaults.post
  • Apply custom macOS defaults:

    . ~/scripts/macos_defaults.sh
  • Update Brewfile:

    cd ~ && brew bundle dump --force