Update app icons

This commit is contained in:
Luke D. Jones
2022-11-09 21:47:41 +13:00
parent 3654da2ff8
commit be40474f79
10 changed files with 12 additions and 6 deletions

View File

@@ -49,11 +49,11 @@ pub fn init_tray(recv_command: Receiver<AppToTray>) -> Receiver<TrayToApp> {
match command {
AppToTray::DgpuStatus(s) => {
match s {
GfxPower::Active => tray.set_icon("gpu-nvidia"),
GfxPower::Suspended => tray.set_icon("gpu-integrated"),
GfxPower::Off => tray.set_icon("rog-control-center"),
GfxPower::AsusDisabled => tray.set_icon("gpu-integrated"),
GfxPower::AsusMuxDiscreet => tray.set_icon("gpu-nvidia"),
GfxPower::Active => tray.set_icon("asus_notif_red"),
GfxPower::Suspended => tray.set_icon("asus_notif_blue"),
GfxPower::Off => tray.set_icon("asus_notif_green"),
GfxPower::AsusDisabled => tray.set_icon("asus_notif_white"),
GfxPower::AsusMuxDiscreet => tray.set_icon("asus_notif_red"),
GfxPower::Unknown => tray.set_icon("gpu-integrated"),
}
.ok();