aboutsummaryrefslogtreecommitdiffstats
path: root/mail-overview/shell.qml
diff options
context:
space:
mode:
Diffstat (limited to 'mail-overview/shell.qml')
-rw-r--r--mail-overview/shell.qml24
1 files changed, 24 insertions, 0 deletions
diff --git a/mail-overview/shell.qml b/mail-overview/shell.qml
new file mode 100644
index 0000000..cd2e907
--- /dev/null
+++ b/mail-overview/shell.qml
@@ -0,0 +1,24 @@
+// Copyright (C) 2026 Danilo M. <danix@danix.xyz>
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License version 2 as
+// published by the Free Software Foundation.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+import Quickshell
+import Quickshell.Io
+
+ShellRoot {
+ MailPanel { id: panel }
+
+ IpcHandler {
+ target: "mail"
+ function toggle() { panel.toggle(); }
+ function show() { panel.show(); }
+ function close() { panel.close(); }
+ }
+}