Skip to content

[BUG] default_workspace for window_rules only accepts int #89

Description

@rawhat

Submission checklist

  • I have searched existing issues and confirmed this is not a duplicate.
  • I am using the latest release or a recent build of main.
  • I confirmed this happens in Umbriel itself, not in a desktop shell, a portal backend, or a single application.
  • I checked whether my configuration causes it, for example by reproducing with the packaged examples/config.toml.

Bug description

I mentioned this in the discord, but I'd like to have custom workspace names and set some window rules for applications to launch into them. You can specify either name or index for defining workspaces, but you cannot use the name for default_workspace, just the index.

Steps to reproduce

  1. Create a workspace on an output with a name, i.e. "gaming"
  2. Add a window rule for some application
  3. Specify default_workspace = "gaming"
  4. Note the configuration error

Expected behavior

I think it should allow names on default_workspace.

Actual behavior

It displays a configuration error.

Umbriel version

umbriel 0.1.0 (e677dbb)

Last working version

No response

Session type

Native session (TTY or display manager)

Installation method

Other

Affected area

Layout (scrolling)

Distribution

Arch-based

Environment information

i'm using the AUR `umbriel-git`

Logs and error output


Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    arch-basedIssue reported for this Linux distribution familybugSomething isn't workingsession:nativeIssue reported for this Umbriel session type

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions