tuxedocomputers / tuxedo-control-center

A tool to help you control performance, energy, fan and comfort settings on TUXEDO laptops.
GNU General Public License v3.0
522 stars 69 forks source link

Tuxedo Control Center tray icon and tccd.service #413

Closed geekthought closed 2 months ago

geekthought commented 2 months ago

Hi,

i really like the icon to be monochrome but cant find where to change the tray icon. Guess its embedded in the binary somewhere. Can I hide the icon or do i even need the control center to be started for profiles to get active? Lets say i changed the battery profile to stationary. Do i need to start the control center or does tccd.service does all this in the background?

tuxedoder commented 2 months ago

The icon is within the electron application and can't easily be changed. You would have to rebuild the application with a custom icon.

export const tray: TccTray = new TccTray(path.join(__dirname, '../../../data/dist-data/tuxedo-control-center_256.png'));

Once you configured with tcc you can close it, tccd applies the settings. It is not required to have tcc open.