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

Can't change color of workspaces icons #3843

Open
KiraKyatto opened this issue Dec 21, 2024 · 0 comments
Open

Can't change color of workspaces icons #3843

KiraKyatto opened this issue Dec 21, 2024 · 0 comments

Comments

@KiraKyatto
Copy link

Hello, I recently tried to configure waybar on my arch hyprland but I'm not able to change the base color of the workspace icon. Here are my config files :

config :

{
        //Position TOP
        "layer": "top",
        "margin-top": 14,
        "margin-bottom": 0,

        //Load modules
        "include":["~/.config/waybar/modules.json"],

        //Modules LEFT
        "modules-left":[
                "clock",
                "wlr/taskbar",
        ],

        //Modules CENTER
        "modules-center":[
                "hyprland/workspaces",
        ],
}

style.css :

@import "/home/alex/.cache/wal/colors-waybar.css";

* {
        border: none;
        border-radius: 0;
        font-size: 18px;
        background: transparent;
}

#workspaces button {
        padding: 0 5px;
        color: @color3;
}

.modules-center {
        background-color: @color1;
        border-radius: 15px;
        padding: 0 10px;
}

modules.json :

{
        "clock":{
                "tooltip": true,
        },
        "hyprland/workspaces":{
                "persistent-workspaces": {"DP-1":[1,2,3], "HDMI-A-1":[1,2,3]},
                "format": "{icon}",
                "format-icons":{
                        "active": "",  //these two are icons from nerd fonts
                        "default": ""
                },
        },
}

Thanks to whoever tries to help me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant