Abandoned repo. Moved to https://github.com/0rphee/dotfiles
This repository has been archived on 2024年10月07日 . You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
- Shell 54.8%
- CSS 33.2%
- C 8.7%
- Python 3.2%
Using https://www.atlassian.com/git/tutorials/dotfiles, which is based on https://news.ycombinator.com/item?id=11071754
Remove shadow effect from screenshots.
defaults write com.apple.screencapture disable-shadow -bool true ; killall SystemUIServer
Install oh-my-zsh and homebrew.
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Get all installed brew packages.
brew ls --casks > ~/.config/brew/brew_deps.txt && brew leaves --installed-on-request >> ~/.config/brew/brew_deps.txt
Install all brew packages.
xargs brew install < ~/.config/brew/brew_deps.txt
Link the helix runtime directory to the config directory.
ln -Fs ~/dev/rust/helix/runtime ~/.config/helix/runtime
Load dark-mode-notify as a service.
launchctl load -w ~/Library/LaunchAgents/ke.bou.dark-mode-notify.plist
launchctl list | grep ke.bou
Remove the service
launchctl remove ke.bou.dark-mode-notify