diff --git a/widget/Tray.tsx b/widget/Tray.tsx index 7e6a867..7eba887 100644 --- a/widget/Tray.tsx +++ b/widget/Tray.tsx @@ -1,5 +1,5 @@ import { bind } from "astal"; -import { Gdk, Gtk } from "astal/gtk4"; +import { Gdk } from "astal/gtk4"; import AstalTray from "gi://AstalTray"; const Tray = function () { @@ -7,10 +7,6 @@ const Tray = function () { const trayItems = bind(tray, "items"); - function OpenTrayItem(button: Gtk.MenuButton, item: AstalTray.TrayItem) { - item.about_to_show(); - } - return ( {trayItems.as((items) => @@ -18,8 +14,10 @@ const Tray = function () { return ( iconName || "NONE", + )} /> );