dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

[BUG] Update Script crashes because it expects certain files in the kitty configuration directory

Open Zusemat opened this issue 3 months ago • 12 comments

Describe the bug

When trying to update/install (from the welcome app), the script expects to find the following files:

  • ~/.config/kitty/colors-matugen.conf
  • ~/.config/kitty/./custom.conf

Steps to reproduce

  1. Update to latest package versions
  2. Get new Hyprland version (with new gestures)
  3. Try to reinstall kitty configuration because it does not look the same
  4. Update Script crashes

Expected behavior

When updating, I expected the script to go through the Installation steps (do you want to keep your neovim config...?. This script is the one that fails.

Screenshots

Image

Distribution

Other (please specify below)

If Other, specify

Fedora Linux

Additional context

No response

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

Zusemat avatar Sep 12 '25 08:09 Zusemat

You can protect your configuration during an update with the Dotfiles Installer. Did you switch from stable release to rolling release? And did you install the rolling release for the first time?

mylinuxforwork avatar Sep 12 '25 09:09 mylinuxforwork

The problem isnt my config disappearing (I protected it as recommended by the wiki and that worked fine). The problem is that when trying to update, the script crashes. I am on the stable release. I have installed the rolling release in the past but switched back to stable. Thanks for the quick response!

Zusemat avatar Sep 12 '25 10:09 Zusemat

Can you share your kitty configuration from .config/kitty.conf

mylinuxforwork avatar Sep 12 '25 10:09 mylinuxforwork

Can you share your kitty configuration from .config/kitty.conf

And a screenshot from your kitty folder?

mylinuxforwork avatar Sep 12 '25 10:09 mylinuxforwork

Image Image

Ahh I see. I missed putting back those files

Zusemat avatar Sep 12 '25 10:09 Zusemat

I assume those files have to be added manually?

Zusemat avatar Sep 12 '25 10:09 Zusemat

The custom yes but the matugen file will be generated after changing a wallpaper with waypaper.

mylinuxforwork avatar Sep 12 '25 11:09 mylinuxforwork

Then there seems to be a problem with that automatic generation. I'll try some stuff and post it back here

Zusemat avatar Sep 12 '25 11:09 Zusemat

First thing that happens is this:

Image

Zusemat avatar Sep 12 '25 12:09 Zusemat

Can you please run the setup script offered in the Dotfiles Installer again?

mylinuxforwork avatar Sep 12 '25 12:09 mylinuxforwork

And do you have a NVIDIA card. Please see https://github.com/mylinuxforwork/dotfiles/issues/1195

mylinuxforwork avatar Sep 12 '25 12:09 mylinuxforwork

I do have an nvidia card. Both the calendar and the dotfiles installer run.

Zusemat avatar Sep 12 '25 12:09 Zusemat