git clone --depth=1 https://github.com/Wraient/HyprInsomnia
Enter the directories or files you want to upload to github using
config_upload.sh -e
this will open a vim instance for you to change HyprInsomnia config
config e.g.
/home/wraient/.zshrc
/home/wraient/.local/bin
/home/wraient/.config/hypr
/home/wraient/.config/fusuma
/home/wraient/.config/rofi
/home/wraient/.config/waybar
/home/wraient/.config/HyprInsomnia
/home/wraient/.config/kitty
/home/wraient/.config/jerry
/home/wraient/.config/dunst
/home/wraient/.config/spicetify
/home/wraient/.gitignore
/home/wraient/.config/mov-cli
/home/wraient/Pictures/wall
Using absolute path is recommended.
Copying files to /home/$USER/.hidden/dotfiles
- Delete everything inside the dotfiles directory (rm -rf'ed)
- Copy all the files and folders specified in /home/$USER/.config/hyprinsomnia/files.conf to dotfiles directory
- Copy the path of the file into .original_path (default) in dotfiles (all loose files have the same .original_path file)
- Copy the path of the directories into respective folders in .original_path (default)
- Change the name of the user to "$USER" in all .original_path file
- Upload /home/$USER/.hidden/dotfiles to specified github repo
- Clone dotfiles GitHub repo
- Iterate through each folder and copy the iterated folder to respective path specified in .original_path
- copy the files in dotfiles/.original_path to their specified location