From 862e544a711feec861a4cdd4b9a0a84d780bb359 Mon Sep 17 00:00:00 2001 From: caem Date: Tue, 30 Jul 2024 22:43:33 +0200 Subject: [PATCH] Add deployment script for distro agnostic dotfiles --- README.md | 2 +- dotfiles/deploy.sh | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100755 dotfiles/deploy.sh diff --git a/README.md b/README.md index 4ee5c37..163618b 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ modify and share this configuration to your heart's content, no attribution requ ├── assets ; Binary assets tracked in git │   ├── screenshot.png │   └── wallpaper.jpg -├── dotfiles ; GNU stow compatible dotfiles directory +├── dotfiles ; Distro agnostic dotfiles │   └── ... ; Stores configurations that do not depend on Nix ├── flake.lock ├── flake.nix ; Entry point diff --git a/dotfiles/deploy.sh b/dotfiles/deploy.sh new file mode 100755 index 0000000..046bd5a --- /dev/null +++ b/dotfiles/deploy.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +for f in *; do + [ -d "$f" ] && ln -svf "$PWD/$f" "$HOME/.config" +done +