Skip to content

manage_dots

kRHYME7 edited this page Dec 12, 2024 · 1 revision

title: Dotfiles Management description: HyDE Dotfiles Management guide

Updating

Option 1

Automated

To update HyDE, you will need to pull the latest changes from GitHub and restore the configs by running the following commands:

cd ~/HyDE/Scripts
git pull
./install.sh -r

Important

Please note that any configurations you made will be overwritten if listed to be done so as listed by Scripts/restore_cfg.psv. However, all replaced configs are backed up and may be recovered from in ~/.config/cfg_backups.

Granular and Manual Updates

In addition to the command above, you can modify the Scripts/restore_cfg.psv. The documentation on is on the file.

Updating the dotfiles ONLY

Important

"restore" in further context is restoring the dotfiles from the repository to your $HOME, not the other way around.

./restore_cfg.sh </path/to/file.psv > <optional /path/to/hyde/clone`

  • most likely you want to
cd ~/HyDE/Scripts
 ./restore_cfg.sh ./restore_cfg.psv
Theme update and importing

Themes are located at Scripts/themepathcer.lst

A User can create a new themepatcher list file and use this file to be installed instead. example, we can have my_themes.lst

./restore_thm.sh /path/to/my_themes.lst

Option 2

As a second update option, you can use Hyde restore ..., which does have a better way of managing restore and backup options. For more details, you can refer to Hyde-cli - dots management wiki.