hyprdots icon indicating copy to clipboard operation
hyprdots copied to clipboard

[Bug]: restore_cfg.lst does not work with directories

Open sitolam opened this issue 7 months ago • 1 comments

Bug Report

Description

I wanted to add my configs from my browser (Floorp). I got it working to apply my configs like this: N|Y|${HOME}|.floorp|floorp-bin and putting the folder in the right place in the GitHub directory. Now the problem is that it doesn't preserve the configs after an update. Each time I update the config files with ./install.sh it overwrites the config folder again. It works with files but not with folders.

Steps to Reproduce

  1. Add a folder to the restore_cfg.lst that should preserve the config
  2. Add the folder to the correct folder in the github project.
  3. Update the dotfiles with ./install.sh

Expected Behavior

I expected to preserve my config folder.

Actual Behavior

It overwrites my config folder.

Screenshots

The output of ./install.sh

image

Environment

  • Linux Distro: ArchLinux
  • Linux Version, output of uname -a: Linux archbox 6.9.7-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Fri, 28 Jun 2024 04:32:27 +0000 x86_64 GNU/Linux
  • Hyprland Version, output of hyprctl version: v0.41.2
  • Installation Environment: On the main hardware (a laptop)

sitolam avatar Jul 03 '24 16:07 sitolam