summaryrefslogtreecommitdiff
path: root/src/modules/sidebar/dashboard.tsx
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-03-25 21:51:59 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-03-25 21:51:59 +1100
commite8a40f31c904baeaa1817cd3e418df5ce71302c1 (patch)
treede5b15228d2e7227560db91131006ee55af82049 /src/modules/sidebar/dashboard.tsx
parentsidebar: media handle no players (diff)
downloadcaelestia-shell-e8a40f31c904baeaa1817cd3e418df5ce71302c1.tar.gz
caelestia-shell-e8a40f31c904baeaa1817cd3e418df5ce71302c1.tar.bz2
caelestia-shell-e8a40f31c904baeaa1817cd3e418df5ce71302c1.zip
sidebar: create upcoming module
Requires ical.js and curl
Diffstat (limited to 'src/modules/sidebar/dashboard.tsx')
-rw-r--r--src/modules/sidebar/dashboard.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/sidebar/dashboard.tsx b/src/modules/sidebar/dashboard.tsx
index 86921e6..936502b 100644
--- a/src/modules/sidebar/dashboard.tsx
+++ b/src/modules/sidebar/dashboard.tsx
@@ -5,6 +5,7 @@ import { bind, GLib, monitorFile, Variable } from "astal";
import { Gtk } from "astal/gtk3";
import AstalMpris from "gi://AstalMpris";
import Notifications from "./modules/notifications";
+import Upcoming from "./modules/upcoming";
const lengthStr = (length: number) =>
`${Math.floor(length / 60)}:${Math.floor(length % 60)
@@ -127,5 +128,7 @@ export default () => (
))}
<box className="separator" />
<Notifications />
+ <box className="separator" />
+ <Upcoming />
</box>
);