From 4008fa4f12d6688c580a78980e4722899a84498c Mon Sep 17 00:00:00 2001 From: Matt Singleton Date: Fri, 12 Apr 2024 16:06:30 -0500 Subject: Update Makefile to manage fedora/sway-de config --- README.md | 33 ++++++++++++++------------------- 1 file changed, 14 insertions(+), 19 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 0c8d64f..f6b672b 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,14 @@ -Install dotfiles with the deploy script: - - $ sh deploy.sh - -Tries to follow the [XDG base directory -spec](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html) -as much as possible. - -The script does the following: - - * Clear out `$PWD/dotfiles-backup/`. - * Symlink everything under `config` into `$XDG_CONFIG_HOME`. Moves everything - that already exists to `$PWD/dotfiles-backup/` first. - * Symlink everything under `home` into `$HOME`. Again back up existing files to - `$PWD/dotfiles-backup`. - * Clone Vundle into `~/.vim/bundle/vundle/` and run `BundleInstall`. - * Copy files under `local` into the appropriate locations only if they don't - already exist. These are for handling local configuration that shouldn't or - can't be version controlled. +Manages dotfiles with stow and make. + +Make targets: + * `console`: configs for os-independent cli tools + * `fedora-packages`: install rpmfusion and fedora packages (standalone, should + only need to be run once unless new packages or repos are added) + * `fedora`: configs for fedora-specific gui tools (depends on `console`) + * `restore`: restore committed versions of files in `stow\` and `sway-de/` + +Note: stow is run with the `--adopt` option, which will overwrite files in the +stow directory with the version that would be replaced with a symlink. You can +do a `git diff` to see the differences and if you don't care about them you can +quickly revert to the committed versions with `make restore`. Makefile will do +it's best to abort if there are uncommitted changes in the repo. -- cgit v1.2.3