How to pull changes form here without losing my tweaks to the system? #531
-
Every time I pull changes, I lose my changes and my vscode extensions. So, I am asking this question to know the proper way to get what's new without losing everything. (I don't really understand how restore script work) |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
Hello @Ramy-Ashraf, The recent commit should not affect your VSCode extensions, as we have implemented a feature that allows you to install the repository without overwriting your local configurations. The You have control over which configurations should be overwritten using the control file located at Here is an example of how the ❯ cat ~Hyprdots/Scripts/restore_cfg.lst
N|${HOME}|.zshrc .p10k.zsh|zsh oh-my-zsh-git zsh-theme-powerlevel10k-git pokemon-colorscripts-git
Y|${HOME}/.config/Code/User|settings.json|visual-studio-code-bin
Y|${HOME}/.config|dunst|dunst
Y|${HOME}/.config/hypr|animations.conf hyprland.conf keybindings.conf theme.ctl windowrules.conf scripts themes wallbash|hyprland
Y|${HOME}/.config|kitty|kitty
Y|${HOME}/.config|Kvantum|kvantum
Y|${HOME}/.config|MangoHud|mangohud
Y|${HOME}/.config|neofetch|neofetch
Y|${HOME}/.config|qt5ct|qt5ct
Y|${HOME}/.config|rofi|rofi
Y|${HOME}/.config|swaylock|swaylock-effects
N|${HOME}/.config|swww|swww
Y|${HOME}/.config|waybar|waybar
Y|${HOME}/.config|wlogout|wlogout
Y|${HOME}/.config|nwg-look gtk-3.0 xsettingsd|nwg-look
Y|${HOME}/.icons|default|nwg-look
Y|${HOME}|.gtkrc-2.0|nwg-look
Y|${HOME}/.config|dolphinrc kdeglobals|dolphin
Y|${HOME}/.local/share|dolphin|dolphin
Y|${HOME}/.local/share/kxmlgui5|dolphin|dolphin
Y|${HOME}/.local/bin|Hyprdots|hyprland If you have your specific configurations, you may change the Y flag to N. Or you can check your If you want to pull something from the repository, I would suggest creating a fork of this repository and on that fork apply/modify your own preferences. Every time the Hyprdots repository updates, you can merge those changes to your repository. However, learning the basics of Git is a prerequisite. As of now, using Git is the best way to ensure your changes are saved Source 3, Source 6, Source 7, Source 8, Source 9. |
Beta Was this translation helpful? Give feedback.
-
Also if your wallpapers where already cached you I can flag N on the |
Beta Was this translation helpful? Give feedback.
-
Thanks for your answer. So if I want to update, I can use the restore script not install script. Right? |
Beta Was this translation helpful? Give feedback.
-
Hello, I managed to get a functional script to sync your keybindings also the hyprland.conf. Would you like to test it? Not yet complete though. |
Beta Was this translation helpful? Give feedback.
Hello @Ramy-Ashraf,
The recent commit should not affect your VSCode extensions, as we have implemented a feature that allows you to install the repository without overwriting your local configurations.
The
restore
script is designed to pull changes from the repository and automatically back up your latest configuration to~/.config/cfg*(Date and time)
. It then copies the latest update to the~/.configs
folder, which means it backs up the latest repository and overrides your~/.config
.You have control over which configurations should be overwritten using the control file located at
~/Hyprdots/Scripts/restore_cfg.lst
. The first column indicates whether you want to overwrite the configurati…