summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/popdowns/index.tsx9
-rw-r--r--src/modules/popdowns/notifications.tsx (renamed from src/modules/notifications.tsx)4
-rw-r--r--src/modules/popdowns/updates.tsx (renamed from src/modules/updates.tsx)6
3 files changed, 14 insertions, 5 deletions
diff --git a/src/modules/popdowns/index.tsx b/src/modules/popdowns/index.tsx
new file mode 100644
index 0000000..db3245b
--- /dev/null
+++ b/src/modules/popdowns/index.tsx
@@ -0,0 +1,9 @@
+import Notifications from "./notifications";
+import Updates from "./updates";
+
+export default () => {
+ <Notifications />;
+ <Updates />;
+
+ return null;
+};
diff --git a/src/modules/notifications.tsx b/src/modules/popdowns/notifications.tsx
index 85747ce..bb08c13 100644
--- a/src/modules/notifications.tsx
+++ b/src/modules/popdowns/notifications.tsx
@@ -1,8 +1,8 @@
import { bind } from "astal";
import { Astal, Gtk } from "astal/gtk3";
import AstalNotifd from "gi://AstalNotifd";
-import Notification from "../widgets/notification";
-import PopdownWindow from "../widgets/popdownwindow";
+import Notification from "../../widgets/notification";
+import PopdownWindow from "../../widgets/popdownwindow";
const List = () => (
<box
diff --git a/src/modules/updates.tsx b/src/modules/popdowns/updates.tsx
index feaa3cd..359fe81 100644
--- a/src/modules/updates.tsx
+++ b/src/modules/popdowns/updates.tsx
@@ -1,8 +1,8 @@
import { bind, execAsync, Variable } from "astal";
import { App, Astal, Gtk } from "astal/gtk3";
-import Updates, { Repo as IRepo, Update as IUpdate } from "../services/updates";
-import { MenuItem } from "../utils/widgets";
-import PopdownWindow from "../widgets/popdownwindow";
+import Updates, { Repo as IRepo, Update as IUpdate } from "../../services/updates";
+import { MenuItem } from "../../utils/widgets";
+import PopdownWindow from "../../widgets/popdownwindow";
const constructItem = (label: string, exec: string, quiet = true) =>
new MenuItem({