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 --- README.md | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index d7f995e..f44d04e 100644 --- a/README.md +++ b/README.md @@ -4,19 +4,23 @@ Two waybar bars for DP-3: pill clusters, icons from the desktop's own icon theme instead of font glyphs, and colours driven by [unified-desktop-theme](../unified-desktop-theme). - top [📅 Wed 15/09] [🕑 14:32] [●●] [S] [●] [🔊] [tray] [⏻] [🇮🇹] - bottom [1..8] [ open windows ] + DP-3 [📅 Wed 15/09] [🕑 14:32] [●] [S] [●] [✉ 9] [🔊] [tray] [⏻] [🇮🇹] + DP-1 [1..8] [ open windows ] Each bracket is a pill. Pills group into clusters with gaps between them, so the bars read as a few objects rather than one strip. Hover cross-fades background and text over 0.3s; taskbar buttons underline in the accent. -DP-3 is rotated, so a bar there is 1080px wide rather than 1920, and one bar -holding everything was too crowded. Status sits on top, the desktop itself -(workspaces and open windows) along the bottom. Both bars are one waybar +DP-3 is rotated, so a bar there is only 1080px wide, which is why it carries +status alone. The desktop itself, the workspaces and the window list, sits on +DP-1 where there are 2560px to spread them across. Both bars are one waybar process reading one stylesheet: waybar takes a top-level array of bars, so they cannot drift apart. +This replaces the stock bar. Hyprland starts it from +`~/.config/hypr/sections/autostart.lua`; `~/.config/waybar/` is left on disk +but nothing reads it. + ## Install ./install.sh @@ -74,11 +78,11 @@ their national colours. | Bar | Cluster | Modules | | --- | --- | --- | -| top | left | date, time, VM dots | -| top | centre | launcher | -| top | right | privacy dots, volume drawer, tray, presentation mode, language | -| bottom | left | workspaces | -| bottom | right | open windows | +| DP-3 | left | date, time, VM dots | +| DP-3 | centre | launcher | +| DP-3 | right | privacy dots, mail, volume drawer, tray, presentation mode, language | +| DP-1 | left | workspaces | +| DP-1 | right | open windows | No battery, temperature, CPU, memory or backlight: this is a desktop. -- cgit v1.2.3