added update mechanism

This commit is contained in:
2025-02-14 00:52:01 -08:00
parent e8bbeb7581
commit 5648b01016
3 changed files with 9 additions and 3 deletions

View File

@@ -8,8 +8,7 @@ bash install.sh
## Update
```
git pull
bash install.sh
bash update.sh
```
## Updating Configurations

View File

@@ -94,7 +94,7 @@
catp = "bat -p";
btop = "btop --utf-force";
open = "xdg-open";
rebuild = "sudo home-manager switch";
rebuild = "home-manager switch";
};
initExtra = ''

7
update.sh Normal file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
git pull
cp -r home-manager/ ~/.config/
home-manager switch