summaryrefslogtreecommitdiff
path: root/src/modules/bar.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/bar.tsx')
-rw-r--r--src/modules/bar.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/bar.tsx b/src/modules/bar.tsx
index 16c505a..ae5cde9 100644
--- a/src/modules/bar.tsx
+++ b/src/modules/bar.tsx
@@ -4,6 +4,7 @@ import Updates from "@/services/updates";
import { getAppCategoryIcon } from "@/utils/icons";
import { ellipsize } from "@/utils/strings";
import { bindCurrentTime, osIcon } from "@/utils/system";
+import type { AstalWidget } from "@/utils/types";
import { setupCustomTooltip } from "@/utils/widgets";
import type PopupWindow from "@/widgets/popupwindow";
import { execAsync, register, Variable } from "astal";
@@ -20,7 +21,7 @@ import AstalWp01 from "gi://AstalWp";
const hyprland = AstalHyprland.get_default();
const hookFocusedClientProp = (
- self: any, // Ugh why is there no base Widget type
+ self: AstalWidget,
prop: keyof AstalHyprland.Client,
callback: (c: AstalHyprland.Client | null) => void
) => {