Fausto-Korpsvart / Kanagawa-GKT-Theme

A GTK theme with the Kanagawa colour palette.
https://www.pling.com/s/Gnome/p/1810560
GNU General Public License v3.0
186 stars 3 forks source link

Waybar workspaces buttons too wide #2

Closed Rik034 closed 2 years ago

Rik034 commented 2 years ago

When I use this theme on sway, the workspaces buttons in waybar are wider than normal even though I set the padding to 0 in waybar's style.css. I tried to change some paddings or min width on some buttons in the theme's css but I don't know much about GTK theming so I can't figure out which one is the right one. If you could tell me how to change the width of these buttons I'd really appreciate it. Apart from that I really love this theme, great work.

Fausto-Korpsvart commented 2 years ago

Hi, @Rik034. Sorry, but I don't know anything about Sway and how it works, so I don't know how a GTK theme can overwrite the Sway configuration, in theory, and from what I understand, it shouldn't affect the Sway configuration at all, as they are totally different environments.

Anyway, just out of curiosity, could you show a screenshot to see what the problem is?

Rik034 commented 2 years ago

Here's a comparison, the first half is with this theme, the second one with Arc-Dark. The theme is the only thing I changed. comparison

Fausto-Korpsvart commented 2 years ago

Here's a comparison, the first half is with this theme, the second one with Arc-Dark. The theme is the only thing I changed. comparison

I understand, but I really don't know how the GTK theme can overwrite any Sway configuration, I haven't used Sway and I don't know anything about how it works, I guess the fact that both use a stylesheet can affect at some point, although they are different environments, sorry I can't help at the moment, when I have some time I'll look for how Sway works to try to solve the problem.

Thanks for reporting and for your support };-]

Rik034 commented 2 years ago

I understand, but I really don't know how the GTK theme can overwrite any Sway configuration

I should clarify, it's not the sway configuration itself, it's waybar's (it's a bar like i3bar for wayland). https://github.com/Alexays/Waybar This is the repo if you want to look into it.

Thanks for the help.

Fausto-Korpsvart commented 2 years ago

I understand, but I really don't know how the GTK theme can overwrite any Sway configuration

I should clarify, it's not the sway configuration itself, it's waybar's (it's a bar like i3bar for wayland). https://github.com/Alexays/Waybar This is the repo if you want to look into it.

Thanks for the help.

I thought Waybar was configured within the Sway configuration, well that clarifies a bit more, and I can focus specifically on how GTK stylesheets can affect Waybar configuration.

Thanks for clarifying, when I have time I will check documentations to see where the problem comes from.

Rik034 commented 2 years ago

I fixed it by modifying the min-width in waybar's stylesheet. I don't know why I didn't try it yesterday and went straight to the theme's stylesheet.

Thanks again for the help and the amazing theme.

Fausto-Korpsvart commented 2 years ago

I fixed it by modifying the min-width in waybar's stylesheet. I don't know why I didn't try it yesterday and went straight to the theme's stylesheet.

Thanks again for the help and the amazing theme.

Good to know that the solution is in the Waybar configuration, anyway I will keep looking for the reason why the GTK theme overwrites the Waybar configuration.

Thanks for your support.