23.04 : lock key applet, icons look always « on / enabled »

Hi, again,

whatever the state of caps or num lock, icons always look the same :

Them is Vimix-dark-ruby, icons are Yaru-dark, they inherit from Pocillo, then Papirus.

But same if inherit from Papirus first → other icons but always look « on / enabled ».

So which icons does this applet expect to work ?

The icons it uses are “caps-lock-symbolic” and “num-lock-symbolic”. When toggled off, it uses css to apply a dimming effect to the icons, and removes this class when the keys are toggled on.

I will say I also have had issues in the past when using certain themes with the icons being “less bright” by default, which made the change between on and off trickier to see.


Ah yes, good catch.

It’s a matter of transparency / color of the panel.

Soved by modifying gtk.css and gtk-dark.css of the gtk3.0 theme :

.budgie-panel {
  transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1);
  background-color: #222222;
  color: rgba(255, 255, 255, 1);
  font-weight: 500;

.budgie-panel.transparent {
  background-color: rgba(34, 34, 34, 0);
1 Like

The css class is called lock-keys.

So adding css around that will be better than changing the whole panel.

You are right, as usual :wink:

But I also prefer having dynamic transparency for panels ( totally transparent by default, and opaque when maximized window. )

Where is it to be found ?