Skip to content

Support read-only configuration files #504

Description

@jmacdonald

Did you search for existing issues already?

Yes!

Is your feature request related to a problem? Please describe.
Yes. I'm trying to manage my Slumber configuration inside my NixOS configuration. Nix symlinks configuration paths to read-only versions of the generated configs to ensure state doesn't creep in. Unfortunately, Slumber doesn't play nicely with read-only configuration files and displays an error saying "Error loading configuration".

Describe the solution you'd like
I'd like Slumber to load the config in read-only mode and just skip writing anything to it. For what it's worth, I use read-only configs for a lot of different TUI applications, and Slumber is the only one that requires write access to it.

Describe alternatives you've considered
N/A

Additional context

Unrelated to the issue, but Slumber is fantastic and fits my use case almost perfectly (vi keybinds out of the box would have made that a 100% match!). Keep up the great work; you are solving an important problem that applies nicely to other people!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions