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 hosting-monitor css class #2968

Merged
merged 4 commits into from
Mar 17, 2024

Conversation

jramrath
Copy link
Contributor

Adds the css class onThisMonitor.
This will make it possible to only style the waybar that a workspace is on.

Example:

#workspaces .onThisMonitor {
  color:blue;
}

/* waybar of monitor 1 with workspace A open:   [    A       B    ]
 *                                                  blue   white
 *
 * waybar of monitor 2 with workspace B open:   [    A       B    ]
 *                                                 white    blue
 */

Closes #2959

@jramrath jramrath marked this pull request as ready for review February 25, 2024 00:23
@jramrath
Copy link
Contributor Author

Sorry for the wait.
I went with hosting-monitor for the css class name.

@jramrath jramrath changed the title Hyprland workspaces onThisMonitor css class Hyprland workspaces hosting-monitor css class Mar 16, 2024
@Alexays
Copy link
Owner

Alexays commented Mar 17, 2024

LGTM, thx!
Can you also add the new option to the github wiki?

@Alexays Alexays merged commit ca17bdb into Alexays:master Mar 17, 2024
7 of 9 checks passed
@0x000C0A71 0x000C0A71 mentioned this pull request Mar 17, 2024
@tomben13 tomben13 mentioned this pull request Mar 17, 2024
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.

per monitor styling hyprland workspaces
3 participants