]> Freerunner's - dotfiles.git/commitdiff
update README and add stow bash scripts
authorAndre Ramnitz <tux.rising@gmail.com>
Tue, 19 Dec 2023 19:53:25 +0000 (20:53 +0100)
committerAndre Ramnitz <tux.rising@gmail.com>
Sun, 18 Aug 2024 16:18:52 +0000 (18:18 +0200)
README.MD
restow_dots.sh [new file with mode: 0755]
stow_dots.sh [new file with mode: 0755]
unstow_dots.sh [new file with mode: 0755]

index b27b7e461d9eeee5a7c141cc3daddfd855114289..02f0059fc7933c206e6aef0408936a6f469096f5 100644 (file)
--- 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 (executable)
index 0000000..db9982d
--- /dev/null
@@ -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 (executable)
index 0000000..729e33e
--- /dev/null
@@ -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 (executable)
index 0000000..f882711
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+stow -t "$HOME/.config" -D config
+stow -t "$HOME/.local" -D local
+