Skip to content
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

add tags/workspaces #4

Open
5 tasks
Tracked by #1
BKSalman opened this issue Sep 29, 2023 · 0 comments
Open
5 tasks
Tracked by #1

add tags/workspaces #4

BKSalman opened this issue Sep 29, 2023 · 0 comments

Comments

@BKSalman
Copy link
Owner

BKSalman commented Sep 29, 2023

every monitor will have their separate tags/workspaces.

could look like this:

struct WM {
    tags: Vec<Tag>,
}

struct Tag {
    id: u32,
    name: String,
    layout_manager: LayoutManager,
    // other fields
}

or like this:

struct WM {
    tags: Vec<Tag>,
    layout_manager: LayoutManager,
}

struct Tag {
    id: u32,
    name: String,
    // other fields
}

maybe I would like to pin one of the tags to a specific monitor, but that's for later

TODOs:

  • add tags
  • change the _NET_NUMBER_OF_DESKTOPS property
  • track the _NET_CURRENT_DESKTOP property
  • unmap windows that are on other tags ( not sure if that's how you hide the windows from other tags )
  • map windows on the current tag
@BKSalman BKSalman mentioned this issue Sep 29, 2023
15 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant