aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/modules/mail/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/modules/mail/README.md')
-rw-r--r--desktop/modules/mail/README.md20
1 files changed, 10 insertions, 10 deletions
diff --git a/desktop/modules/mail/README.md b/desktop/modules/mail/README.md
index 022bdda..8ae2bd2 100644
--- a/desktop/modules/mail/README.md
+++ b/desktop/modules/mail/README.md
@@ -3,9 +3,9 @@
> **Now the `mail` module of the `desktop/` shell.** It is no longer a
> standalone component: start the shell with `qs -p desktop` and open the page
> from the drawer, or deep-link with `qs -p desktop ipc call drawer open mail`.
-> The `mail-overview` paths below are historical, the scripts now live under
-> `desktop/modules/mail/`, and the waybar click uses `ipc call drawer open
-> mail`. See `desktop/README.md`.
+> The scripts live under `desktop/modules/mail/`. See `desktop/README.md`; the
+> `blur-mail` namespace in the Theme section below is historical, since this
+> page now rides the drawer's `quickshell-desktop` surface.
Unread mail across every account, as one waybar number and a drawer behind it.
Clicking the icon opens the drawer; Escape or a click outside closes it.
@@ -30,12 +30,12 @@ Clicking the icon opens the drawer; Escape or a click outside closes it.
## Running it
- qs -p .
+ qs -p ./desktop
It is started from `autostart.lua` and reached over IPC, so the shell has to be
running for the waybar click to do anything:
- qs -p ~/Programming/GIT/quickshell/mail-overview ipc call mail toggle
+ qs -p ./desktop ipc call drawer open mail
Write that path out in full in the real config. Waybar's `exec` and `on-click`
have no shell to expand `~`, and neither do Hyprland's Lua strings.
@@ -107,8 +107,8 @@ JSON line per database commit, and waybar redraws on each line. There is no
"custom/mail": {
"format": "<span font='18px'>󰇮</span> {}",
"return-type": "json",
- "exec": "~/Programming/GIT/quickshell/mail-overview/waybar-mail.sh",
- "on-click": "qs -p ~/Programming/GIT/quickshell/mail-overview ipc call mail toggle",
+ "exec": "~/Programming/GIT/quickshell/desktop/modules/mail/waybar-mail.sh",
+ "on-click": "qs -p ~/Programming/GIT/quickshell/desktop ipc call drawer open mail",
"on-click-right": "~/bin/mailsync.sh",
"tooltip": false
}
@@ -135,7 +135,7 @@ bigger. Each message is a bullet on its own line with a blank line between,
under a bold `New Mail` heading with the account and count as the second line.
Started from `autostart.lua`, it runs for the whole session.
- /home/you/Programming/GIT/quickshell/mail-overview/mail-notify.sh
+ /home/you/Programming/GIT/quickshell/desktop/modules/mail/mail-notify.sh
It watches the same xapian directory the waybar module does, for the same
reason and with the same 0.3s debounce. It is a **separate process rather
@@ -187,8 +187,8 @@ notmuch:
## Geometry, and the one property that differs from the other panels
The window is a fullscreen overlay with a dimmed backdrop and the drawer itself
-anchored to its top right, which is the idiom `vm-manager` and `appearance` both
-use and what gives click-outside-to-close and a focusable item for Escape.
+anchored to its top right, which is the idiom the vm and appearance panels
+both use and what gives click-outside-to-close and a focusable item for Escape.
It differs from those two in one property: `exclusionMode` is `Normal`, not
`Ignore`. Waybar claims an exclusive zone at the top of this screen, so