Skip to content

Conversation

@YWh0301
Copy link

@YWh0301 YWh0301 commented Nov 30, 2025

This PR adds support for dynamic updates to Waybar's "ignore-workspaces" configuration when workspaces are renamed.

Problem:
Currently, the renameworkspace event listener does not re-evaluate whether the renamed workspace should be ignored based on the "ignore-workspaces" rules. This prevents dynamic workspace renaming from being used as a method to manage workspace visibility in Waybar.

Solution:
Update the event handler to check the new workspace name against the "ignore-workspaces" configuration after each rename operation. This ensures that workspace visibility is properly updated when names change dynamically.

Use Case:
This change enables scripting workflows where workspace visibility in Waybar can be controlled by dynamically renaming workspaces based on the "ignore-workspaces" rules.

@YWh0301 YWh0301 changed the title modified renameworkspace event listener to reapply ignore workspace logic modified renameworkspace event listener to reapply ignore workspace logic for hyprland/workspaces Nov 30, 2025
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