Skip to content

My configuration files for various programs and tools I use.

License

Notifications You must be signed in to change notification settings

matejstastny/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

304 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

screenshot 1 screenshot 2 screenshot 3


Personal dotfiles with custom scripts to manage it, like for example a symlinker script.

Includes:

  • Symlinked configs
  • Homebrew setup
  • Fonts & wallpapers

Quick start

git clone https://github.com/matejstastny/dotfiles.git ~/dotfiles
cd ~/dotfiles
chmod +x dot
./bin/dot all

[!NOTE] This is kinda broken, but I am too unbothered to fix the scripts. If it's like a fresh system, it will have wierd issuses. If you install homebrew manually and then run the link script and then the asset script, it should work as intended.

Usage

./dot [link|brew|assets|all]...
  • link – Symlinks configs
  • brew – Install & update Homebrew packages
  • assets – Install fonts and set wallpaper
  • all – Run everything

You can combine steps:

./dot brew assets

Link script

Most configs are linked as whole directories into ~/.config Some configs are linked as files and/or into different locations. The script will ask if it finds a file to override it. If ran with --force it just does it. It's kinda cool I am proud of this script. Could i use stow? Yeah but this is more fun.

  • zsh, git → as files into $HOME
  • vscode → VS Code user config directory, as files into Application Support
  • etc.

Flags:

  • overwrite prompts
  • --force to force override conflict files
  • --dry-run to show what will happen

Homebrew script

It installs brew, updates it, updates all packages and install all stuff from the Brewfile. Its lowk broken, I might fix it someday.

Asset script

Installs the Dank Mono Nerd Fond that I use for my mono font, and sets wallpaper to this.