Hello,
I have installed the extension adjust.brightness.icon@orschiro.gmail.com
which is perfect to me.
I have just an icon issue. The default one is not good. So I took a look at the code and noticed this line for the icon:
//usr/share/icons/gnome/scalable/actions/system-run-symbolic.svg
let icon = new St.Icon({ icon_name: 'dialog-information-symbolic',
style_class: 'panelItem' }); //system-status-icon
I took a look at the caffeine extension to see how the icon is initialised and so I tried this code for adjust.brightness but with no success:
let icon = new St.Icon({
style_class: 'system-status-icon'
});
icon.gicon = Gio.icon_new_for_string(`${Me.path}/my-caffeine-off-symbolic.svg`);
How to update the icon of an extension for an svg one?
Thanks,
Vincent.