From 54a62679574db230fd72a5c7819d5f7715cf17c0 Mon Sep 17 00:00:00 2001
From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>
Date: Sun, 12 Jan 2025 23:00:18 +1100
Subject: notification popups
---
app.tsx | 3 +
modules/bar.tsx | 3 +-
modules/notifpopups.tsx | 163 ++++++++++++++++++++++++++++++++++++++++++++++++
scss/_lib.scss | 11 ++++
scss/bar.scss | 4 +-
scss/notifpopups.scss | 107 +++++++++++++++++++++++++++++++
scss/widgets.scss | 11 ++++
style.scss | 1 +
utils/icons.ts | 39 ------------
9 files changed, 298 insertions(+), 44 deletions(-)
create mode 100644 modules/notifpopups.tsx
create mode 100644 scss/notifpopups.scss
diff --git a/app.tsx b/app.tsx
index 4f61699..27ca512 100644
--- a/app.tsx
+++ b/app.tsx
@@ -2,6 +2,7 @@ import { execAsync, GLib, writeFileAsync } from "astal";
import { App } from "astal/gtk3";
import AstalHyprland from "gi://AstalHyprland";
import Bar from "./modules/bar";
+import NotifPopups from "./modules/notifpopups";
const loadStyleAsync = async () => {
if (!GLib.file_test(`${SRC}/scss/scheme/_index.scss`, GLib.FileTest.EXISTS))
@@ -12,9 +13,11 @@ const loadStyleAsync = async () => {
App.start({
instanceName: "caelestia",
icons: "assets/icons",
+ iconTheme: "Adwaita",
main() {
loadStyleAsync().catch(console.error);
+ ;
AstalHyprland.get_default().monitors.forEach(m => );
console.log("Caelestia started");
diff --git a/modules/bar.tsx b/modules/bar.tsx
index 1db5e82..b7ffb56 100644
--- a/modules/bar.tsx
+++ b/modules/bar.tsx
@@ -90,7 +90,7 @@ const MediaPlaying = () => {