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: allow using the original window class/title #2787

Merged
merged 1 commit into from
Dec 31, 2023

Conversation

scgtrp
Copy link
Contributor

@scgtrp scgtrp commented Dec 31, 2023

This turns the values of window rewrite rules in hyprland/workspaces from static strings to format strings with the values {class} and {title} available.

For example, I'm now doing this to list windows in each workspace without having to add a rule for every application I use:

  "hyprland/workspaces": {
    "format": "{name}: {windows}",
    "window-rewrite-default": "{class}",
  },

image

This turns the values of window rewrite rules in hyprland/workspaces from static strings to format strings with the values {class} and {title} available.
@Alexays Alexays merged commit 3e55d0d into Alexays:master Dec 31, 2023
@Alexays
Copy link
Owner

Alexays commented Dec 31, 2023

Thanks!

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.

2 participants