summaryrefslogtreecommitdiff
path: root/src/modules/sidebar/time.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/sidebar/time.tsx')
-rw-r--r--src/modules/sidebar/time.tsx24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/modules/sidebar/time.tsx b/src/modules/sidebar/time.tsx
deleted file mode 100644
index 1f5ef99..0000000
--- a/src/modules/sidebar/time.tsx
+++ /dev/null
@@ -1,24 +0,0 @@
-import { bindCurrentTime } from "@/utils/system";
-import { Gtk } from "astal/gtk3";
-import Calendar from "./modules/calendar";
-import Upcoming from "./modules/upcoming";
-
-const TimeDate = () => (
- <box vertical className="time-date">
- <box halign={Gtk.Align.CENTER}>
- <label label={bindCurrentTime("%I:%M:%S")} />
- <label className="ampm" label={bindCurrentTime("%p", c => (c.get_hour() < 12 ? "AM" : "PM"))} />
- </box>
- <label className="date" label={bindCurrentTime("%A, %d %B")} />
- </box>
-);
-
-export default () => (
- <box vertical className="pane time" name="time">
- <TimeDate />
- <box className="separator" />
- <Upcoming />
- <box className="separator" />
- <Calendar />
- </box>
-);