summaryrefslogtreecommitdiff
path: root/src/tray.rs
diff options
context:
space:
mode:
authorcashmere <cashmere@autistici.org>2026-07-29 11:31:51 +0200
committercashmere <cashmere@autistici.org>2026-07-29 11:31:51 +0200
commitde596d4fca9ca54f9248e788685eee1820bb2381 (patch)
tree4ed9f82251f45c94d28e836ede83c87f67b0f917 /src/tray.rs
parent5b77a6d8f19500eee21a497ce84db538ded05c00 (diff)
downloadi3bar-mango-de596d4fca9ca54f9248e788685eee1820bb2381.tar.gz
configurable focused window widget, tray hidden list, global coords for tray context menu
Diffstat (limited to 'src/tray.rs')
-rw-r--r--src/tray.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tray.rs b/src/tray.rs
index 69fa9e2..1caeb3a 100644
--- a/src/tray.rs
+++ b/src/tray.rs
@@ -13,6 +13,7 @@ use zbus::{Connection, interface, proxy};
#[derive(Clone)]
pub struct TrayItem {
pub key: String,
+ pub id: String,
pub title: String,
pub icon_name: String,
pub icon_theme_path: String,
@@ -398,10 +399,11 @@ async fn run(
unique_name,
announced,
status,
- id,
+ id: id.clone(),
proxy,
item: TrayItem {
key,
+ id,
title,
icon_name,
icon_theme_path,