Skip to content

niri-taskbar: Initial Module Implementation #4164

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

Draft
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

Nitepone
Copy link

@Nitepone Nitepone commented Jun 4, 2025

This PR implements a taskbar that is specific for Niri. Unlike wlr-taskbar, this taskbar provides the ability to order applications by position in the Niri workspace; Groups applications by their workspace; and uses exclusively Niri IPC building on the implementation of the existing niri-workspaces module.

NOTE: This depends on an unmerged Niri PR, YaLTeR/niri#1265

Nitepone added 14 commits June 4, 2025 11:41
Bugs:
- Old Niri Untested.
- It seems like IPC handling in niri/backend needs to be updated to
  support the new indicies properly. Moving windows often leads to stale
  data.
- Icons for some flatpak apps (Like obsidian on my laptop) do not work.
- Using niri dev branch.
- Add separators when showing multiple workspaces
- Add failover if app icon not found
X Applications often use their "StartupWMClass" names from their desktop
files. In these cases, we need to parse through the desktop files to get
the "Icon" name (which is typically their real app id).

This occurs with all X based flatpak apps, since the underlying app id
(e.g. "com.myapp.desktop") almost never aligns with the StartupWMClass.
Keep track of buttons and workspaces with their own classes. This should
help to allow us to better apply workspace specific styles.

It should also allow us to more easily optimize performance.
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

Successfully merging this pull request may close these issues.

1 participant