ErikReider / SwayOSD

A GTK based on screen display for keyboard shortcuts like caps-lock and volume
GNU General Public License v3.0
562 stars 35 forks source link

SwayOSD in light mode despite Adwaita Dark as preference #92

Closed lollar1337 closed 3 weeks ago

lollar1337 commented 2 months ago

Even when setting Adwaita Dark and prefer dark swayosd stays in light mode. Any idea how to fix that?

checkinindza commented 1 month ago

Same issue here, using SwayOSD on Hyprland.

checkinindza commented 1 month ago

In my case the issue was I hadn't installed gnome-themes-extra package. After installing that, SwayOSD was in dark mode.

ralmachado commented 1 month ago

In my case, SwayOSD seems to ignore the color-scheme setting, and only switches to the dark background when gtk-theme is set to Adwaita-dark.

I'm on Fedora 40, with SwayOSD built on the latest commit (d304967).

ErikReider commented 3 weeks ago

SwayOSD is using CSS variables provided by your GTK3 theme. Nothing that I can do about it