-
-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Crashes when no workspaces/items exist due to CSS #215
Comments
Hi @rohrsben, Ah shoot, looks like the underlying library has not been updated in the nixpkgs. I'll make a PR then |
OK so I found out that this is already in progress. Until then I guess you'll have to wait :( |
Ok, no worries. As for the overlay, here's the relevant parts of my config: # flake.nix
dooit.url = "github:dooit-org/dooit";
dooit-extras.url = "github:dooit-org/dooit-extras"; # dooit.nix, imported in hm
# *this does not work*
{ inputs, pkgs, ... }:
{
imports = [
inputs.dooit.homeManagerModules.default
];
nixpkgs.overlays = [ inputs.dooit-extras.overlay ];
programs.dooit = {
enable = true;
extraPackages = [
pkgs.dooit-extras
];
};
} I simply commented out the nixpkgs and extrapackages parts, which did work. |
OK I can also confirm that something is wrong with the overlay, I'll update you with a fix but you can use this alternatively: extraPackages = [inputs.dooit-extras.packages.x86_64-linux.default]; |
Marking this as closed seeing as the nixpkgs merge landed. As far as I can tell it's now fully usable, but dooit-extras is still having an issue. I'm not personally too concerned with themeing, but I'll make a new issue since nix is giving me an actual error now. |
Did we solve your problem? Consider sponsoring my work through github sponsors ๐ |
Describe the bug ๐
If there are no workspaces already existing (typically on first run) dooit crashes due to a css error:
This does not occur if you have a workspace created; e.g., edit
dooit.tcss
and remove line 38, relaunch and create a workspace, then continue on. Interestingly, the app looks much better without the line present: more (and more cohesive) colors are getting applied. If you add the line back in and have a workspace present, the app looks worse (aka less cohesive) but at least launches.The crash starts happening again if you delete all workspaces. Or something. Maybe if you have just one empty workspace that still crashes? This part has been a bit hard to figure out.
To Reproduce ๐ฃ
Steps to reproduce the behavior:
Expected behavior ๐ค
Dooit launches normally.
Screenshots ๐ง
Desktop (please complete the following information): ๐ค
Additional context ๐
I have dooit installed via flake, and am running the most recent version. Notably I could not get the dooit-extras overlay working though, and do not have it installed.
The text was updated successfully, but these errors were encountered: