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

hyprland/workspaces: use name as fallback icon #2534

Merged
merged 1 commit into from Sep 24, 2023
Merged

hyprland/workspaces: use name as fallback icon #2534

merged 1 commit into from Sep 24, 2023

Conversation

woojiq
Copy link
Contributor

@woojiq woojiq commented Sep 23, 2023

Wlr and Sway modules use the workspace name as the default icon if no icon is provided. This adds the same behavior for the hyprland/workspace module.

Closes #2533

Before this fix, it defaulted to the last defined icon, which is silly (see above issue).

Wlr and Sway modules use the workspace `name` as the default icon if no icon is provided. This adds the same behavior for the `hyprland/workspace` module.

Closes #2533
@woojiq
Copy link
Contributor Author

woojiq commented Sep 23, 2023

Wlr impl:


Sway impl:

@woojiq woojiq changed the title fix(hyprland): use workspace name as default icon fix(hyprland): use workspace's name as fallback icon Sep 23, 2023
@woojiq woojiq changed the title fix(hyprland): use workspace's name as fallback icon hyprland/workspaces: use name as fallback icon Sep 23, 2023
@Alexays Alexays merged commit 16f6d9d into Alexays:master Sep 24, 2023
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.

Hyprland workspaces how to format with icon and set id as fallback
3 participants