From fea331158915713d980bafde6c38a6954d5c233b Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Tue, 15 Sep 2026 17:04:07 +0200 Subject: feat: move the desktop bar to DP-1, and add the mail module The two bars were both on DP-3, which put the workspaces and the window list on a rotated 1080px screen while 2560px sat unused next to it. Status stays on DP-3 alone; the desktop itself moved to DP-1, where the window list has room. This replaces the stock bar rather than sitting beside it, so hyprland's autostart now launches this config instead of a bare waybar. ~/.config/waybar is left on disk, but nothing reads it. Mail comes over from the stock bar as the same notmuch watcher, minus the glyph: the envelope is a CSS background and the unread count stays text, because the count is the content rather than decoration, exactly like the clock. Its format carries a trailing space so the pill survives the empty state, since the watcher emits an empty text when nothing is unread and waybar draws no widget at all for a custom module whose output is empty. Co-Authored-By: Claude Opus 5 --- bin/wb-icon | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin/wb-icon') diff --git a/bin/wb-icon b/bin/wb-icon index b8f91cc..9e011b9 100755 --- a/bin/wb-icon +++ b/bin/wb-icon @@ -119,10 +119,12 @@ def selftest(): "x-office-presentation", # on "dialog-warning", # no state file ] + mail_icons = ["mail-unread"] names = sorted( {n for group in ICONS.values() for n in group.values()} | set(workspace_icons) | set(clock_icons) | set(presentation_icons) + | set(mail_icons) ) missing = [n for n in names if not lookup(n)] for n in names: -- cgit v1.2.3