Skip to content

Hyprland workspaces hosting-monitor css class - #2968

Merged
Alexays merged 4 commits into
Alexays:masterfrom
jramrath:hyprland_workspaces_monitor_class
Mar 17, 2024
Merged

Alexays merged 4 commits into
Alexays:masterfrom
jramrath:hyprland_workspaces_monitor_class

Conversation

@jramrath

Copy link
Copy Markdown
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
Comment thread src/modules/hyprland/workspaces.cpp Outdated
@jramrath

Copy link
Copy Markdown
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

Alexays commented Mar 17, 2024

Copy link
Copy Markdown
Owner

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

@Alexays
Alexays merged commit ca17bdb into Alexays:master Mar 17, 2024
@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