Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jefftriplett/dotfiles

:hammer: My dotfiles for setting up my Macs with Ansible
https://github.com/jefftriplett/dotfiles

ansible automation development-environment dotfiles homebrew mac macos pipsi playbook python setup shell

Last synced: 3 months ago
JSON representation

:hammer: My dotfiles for setting up my Macs with Ansible

Awesome Lists containing this project

README

        

# My Dotfiles

There are my personal dotfiles. They are managed using:

## CLI

- [direnv][direnv]: Securely loads or unloads environment variables depending on the current directory.
- [Homebrew][homebrew] for macOS package management.
- [Homesick][homesick] for managing dotfiles.
- [Just](https://github.com/casey/just) 🤖 Just a command runner.
- [Starship][starship] The minimal, blazing-fast, and infinitely customizable prompt for any shell.

## GUI

- [Alfred][alfred]: Productivity tool and [Alfred Powerpack][alfred-powerpack].
- [Hammerspoon][hammerspoon]: An macOS automation tool (tiling windows manager)

## Python

- [pip][pip]: The PyPA recommended tool for installing and managing Python packages.
- [pyenv][pyenv]: Simple Python version management.
- [uv][uv]: An extremely fast Python package installer and resolver, written in Rust.

## Installation

1. Bootstrap our environment (install uv)

```shell
$ just bootstrap
```

# Justfile Usage

```shell
$ just --justfile=./home/justfile

Available recipes:
bootstrap # installs/updates all dependencies
cleanup DAYS="0"
fmt # format and overwrite justfile
freeze # Updates our lockfiles without installing dependencies
lock # alias for `freeze`
git-commit-msg
homebrew-services
install
kill-tabs # Kill all Chrome tabs to improve performance, decrease battery usage, and save memory.
open-docs
open-go
open-ha
open-syncthing
outdated
pip-install *ARGS
pip-uninstall *ARGS
postgresql-upgrade
pyenv-upgrade +ARGS="--skip-existing"
pyenv-upgrade-all +ARGS="--skip-existing"
python-update
restart
stop
update # updates a project to run at its current version
upgrade
upgrade-all
uv-python-install *ARGS
uv-python-reinstall *ARGS
uv-tool-install *ARGS
llm ...
macos ...
ollama ...
virtualenv ...
virtualenvwrapper ...
```

## Hammerspoon Keyboard Shortcuts

| Action | Key Combination |
| ------------------------- | ---------------------------------------------------------------------- |
| hyper | ctrl + opt + cmd |
| meta | cmd + shift |
| reload config | hyper + r |
| show grid | hyper + g |
| make full screen | hyper + m |
| center and 60% | hyper + c |
| move to left half | hyper + left |
| move to right half | hyper + right |
| move to top half | hyper + up |
| move to lower half | hyper + down |
| move to upper left (25%) | ctrl + opt + shift + left |
| move to upper right (25%) | ctrl + opt + shift + up |
| move to lower left (25%) | ctrl + opt + shift + down |
| move to lower right (25%) | ctrl + opt + shift + right |
| move to next monitor | ctrl + opt + right |
| move to previous monitor | ctrl + opt + left |

## Terminal theme

- [Dracula][dracula] Dark theme for iTerm and 294+ apps.

## Inspiration / Thank you!

- [The Geeky Way: What are dotfiles?](http://www.thegeekyway.com/what-are-dotfiles/)
- https://github.com/epicserve/dotfiles
- https://github.com/geerlingguy/mac-dev-playbook
- https://github.com/JohnColvin/.maid/blob/master/rules.rb
- https://github.com/mathiasbynens/dotfiles/blob/master/.osx
- https://github.com/mitchty/src/blob/master/dotfiles/maid/rules.rb
- http://blog.palcu.ro/2014/06/dotfiles-and-dev-tools-provisioned-by.html

[alfred-powerpack]: https://www.alfredapp.com/powerpack/
[alfred]: https://www.alfredapp.com/
[direnv]: https://direnv.net/
[dracula]: https://draculatheme.com/iterm
[espanso]: https://espanso.org/
[hammerspoon]: http://www.hammerspoon.org/
[homebrew]: http://brew.sh/
[homesick]: https://github.com/technicalpickles/homesick
[modd]: https://github.com/cortesi/modd
[pip]: https://pip.pypa.io/en/latest/
[pyenv]: https://github.com/yyuu/pyenv
[starship]: https://starship.rs/
[uv]: https://github.com/astral-sh/uv

## Contact / Social Media

Here are a few ways to keep up with me online. If you have a question about this project, please consider opening a GitHub Issue.

[![](https://jefftriplett.com/assets/images/social/github.png)](https://github.com/jefftriplett)
[![](https://jefftriplett.com/assets/images/social/globe.png)](https://jefftriplett.com/)
[![](https://jefftriplett.com/assets/images/social/twitter.png)](https://twitter.com/webology)
[![](https://jefftriplett.com/assets/images/social/docker.png)](https://hub.docker.com/u/jefftriplett/)