A minimal set of scripts made by someone who just wanted to "try" writing bash scripting
Important
These files are written by someone who has very little idea about bash scripting. Still, it shouldn't break your systems as far as I know.
Important
Make a directory called dotfiles. This is where your dotfiles would be stored.
Caution
Make sure you run the scripts from the same directories that they exist in.
fdfzfstow
- Asks for maxdepth from the user and shows
fzfmenu with that maxdepth in the$HOMEdirectory. - Select the files or folders to be added to the dotfiles directory.
- The selections will then be moved to dotfiles directory as stow packages and symlinks for them will be created.
Important
If you are adding any dotfiles that are continuously being tracked by their respective packages (hyprland configs for example) then adding those dotfiles and stowing them could break the system temporarily. The issue will get solved with a reboot however I would still recommend backing up such dotfiles beforehand.
- Opposite of the previous script.
- Provides an
fzfinterface to select stow packages in dotfiles directory. - The selected packages will then be moved to their original locations and the symlinks would be removed.
- Imports the configs present in the dotfiles directory to your system.
Caution
This will replace/overwrite the configs in your system with the ones present in the dotfiles directory. It is recommended to take a backup before importing configs taken from outside.