From 73030200a8363340a352526d1ead1727d8cbbab1 Mon Sep 17 00:00:00 2001 From: Andre Ramnitz Date: Tue, 19 Dec 2023 20:53:25 +0100 Subject: [PATCH] update README and add stow bash scripts --- README.MD | 5 +++-- restow_dots.sh | 5 +++++ stow_dots.sh | 5 +++++ unstow_dots.sh | 5 +++++ 4 files changed, 18 insertions(+), 2 deletions(-) create mode 100755 restow_dots.sh create mode 100755 stow_dots.sh create mode 100755 unstow_dots.sh diff --git a/README.MD b/README.MD index b27b7e46..02f0059f 100644 --- a/README.MD +++ b/README.MD @@ -1,7 +1,8 @@ # Freerunner's dotfiles -Usage: -`find . -maxdepth 1 -mindepth 1 -not -path '*/.*' -type d -exec basename {} \; | xargs stow -R -t ~` +Usag$HOME: +stow -t "$HOME/.config" -S config +stow -t "$HOME/.local" -S local ![latest keyboard config](moonlander-20231215-230517.png) diff --git a/restow_dots.sh b/restow_dots.sh new file mode 100755 index 00000000..db9982d4 --- /dev/null +++ b/restow_dots.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +stow -t "$HOME/.config" -R config +stow -t "$HOME/.local" -R local + diff --git a/stow_dots.sh b/stow_dots.sh new file mode 100755 index 00000000..729e33ef --- /dev/null +++ b/stow_dots.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +stow -t "$HOME/.config" -S config +stow -t "$HOME/.local" -S local + diff --git a/unstow_dots.sh b/unstow_dots.sh new file mode 100755 index 00000000..f8827113 --- /dev/null +++ b/unstow_dots.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +stow -t "$HOME/.config" -D config +stow -t "$HOME/.local" -D local + -- 2.51.2