You are not logged in.

#1 2025-11-11 18:36:43

14ohms
Member
Registered: 2025-10-21
Posts: 18

when I configure "hyprland/workspaces" module, it doesn't render

I am making configuring my waybar, and when try to customize anything about "hyprland/workspaces" in CSS, it doesnt apply anything. My best guess is that it is something GTK related, but I have tried to launch using

GTK_THEME=Default waybar &

also with some other things. This doesnt happen with the clock element which i also have in there.
My config.jsonc:

{
    // "layer": "top", // Waybar at top layer
    // "position": "bottom", // Waybar position (top|bottom|left|right)
    "height": 30, // Waybar height (to be removed for auto height)
    // "width": 1280, // Waybar width
    "spacing": 4, // Gaps between modules (4px)
    // Choose the order of the modules
    "modules-left": [
        "hyprland/workspaces"
    ],
    "modules-center": [
        "clock"
    ],
    "modules-right": [
    ],

    "clock": {
        "format": "{:%H:%M}"
    }
}

My style.css

* {
    /* `otf-font-awesome` is required to be installed for icons */
    font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif;
    font-size: 18pt;
    margin-top: 2px;
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 0px;
    padding-bottom: 0px;
    border-radius: 10px;
}
#waybar{
    background-color: rgba(0, 0, 0, 0);
}
#clock{
    color: whitesmoke;
    background-color: rgba(0, 0, 0, 0.33);
}
#waybar #hyprland-workspaces,
#waybar #hyprland-workspaces button,
#waybar #hyprland-workspaces button.active,
#waybar #hyprland-workspaces button.urgent,
#waybar #hyprland-workspaces button:hover {
    background-color: rgba(0, 0, 0, 0.33);
    color: aqua;
}

rx 7900xt (amd)
7800xt
32 gb ram

Thanks in advance

Last edited by 14ohms (2025-11-12 19:21:50)

Offline

#2 2025-11-12 10:31:29

jl2
Member
From: 47° 18' N 8° 34' E
Registered: 2022-06-01
Posts: 1,301

Re: when I configure "hyprland/workspaces" module, it doesn't render

This is a re-post from a different section of the arch forums

Please don't repost, you can request moving the old post with the report button bottom right.
It doesn't make sense to have two threads for the same issue, one will always be inferior to the other.


Why I run Arch? To "BTW I run Arch" the guy one grade younger.
And to let my siblings and cousins laugh at Arsch Linux...

Upload longer text output like this

Offline

#3 2025-11-12 10:39:31

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,951

Re: when I configure "hyprland/workspaces" module, it doesn't render

Moderator Note
The other post was moved to dustbin by a fellow moderator, continue here.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#4 2025-11-12 19:28:57

14ohms
Member
Registered: 2025-10-21
Posts: 18

Re: when I configure "hyprland/workspaces" module, it doesn't render

Lone_Wolf wrote:

Moderator Note
The other post was moved to dustbin by a fellow moderator, continue here.


^ Sorry didn't know that I couldn't repost.

Offline

Board footer

Powered by FluxBB