diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-15 16:53:34 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-15 16:53:34 +0200 |
| commit | 9adfac969af75a09054f1eb6f1894ab6bdf8b2a5 (patch) | |
| tree | da6bb4b96f8a5a279cf42865eee8dfeb7f36eb0e /README.md | |
| parent | 66a8d05e2461761b60e1b4126437d04dc4f3dbbe (diff) | |
| download | waybar-theme-udt-9adfac969af75a09054f1eb6f1894ab6bdf8b2a5.tar.gz waybar-theme-udt-9adfac969af75a09054f1eb6f1894ab6bdf8b2a5.zip | |
feat: split the bar in two on DP-3
DP-3 is rotated, so a bar there is 1080px wide rather than 1920, and one bar
holding every module was too crowded. Status sits on top now, the desktop
itself along the bottom: workspaces on the left, open windows on the right.
Both bars are one waybar process reading one stylesheet, because waybar takes
a top-level array of bars, so the two cannot drift apart.
Presentation mode is the statusctl-backed module the DP-1 bar already runs,
rather than the wb-idle module written for this bar. It talks to files under
XDG_RUNTIME_DIR instead of to quickshell, so it keeps working while the shell
is down, and it already emits a state class, so the glyphs are simply dropped
and the icon chosen in CSS. wb-idle and its module are gone.
The module needs a format of one space. It defaults to "{text}", statusctl
emits an empty text, and waybar draws no widget at all for a custom module
whose formatted output is empty: not an empty pill, no pill. That is the same
trap the launcher hit, and it cost a wrong diagnosis on the way: a min-height
was added first on the theory that the pill was collapsing, which was treating
a symptom of a widget that did not exist. A forced red background proved it
was never drawn at all.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 29 |
1 files changed, 19 insertions, 10 deletions
@@ -1,15 +1,22 @@ # waybar-theme-udt -A waybar bar for DP-3: pill clusters, icons from the desktop's own icon theme -instead of font glyphs, and colours driven by +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). - [◆] [📅 Wed 15/09] [🕑 14:32] [1..8] [●●] [ open apps ] [🔊] [tray] [⏻] [🇮🇹] + top [📅 Wed 15/09] [🕑 14:32] [●●] [S] [●] [🔊] [tray] [⏻] [🇮🇹] + bottom [1..8] [ open windows ] Each bracket is a pill. Pills group into clusters with gaps between them, so -the bar reads as a few objects rather than one strip. Hover cross-fades +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 +process reading one stylesheet: waybar takes a top-level array of bars, so +they cannot drift apart. + ## Install ./install.sh @@ -65,11 +72,13 @@ their national colours. ## Layout -| Cluster | Modules | -| --- | --- | -| left | launcher, date, time, workspaces, VM dots | -| center | open applications | -| right | privacy dots, volume drawer, tray, presentation mode, language | +| 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 | No battery, temperature, CPU, memory or backlight: this is a desktop. @@ -105,7 +114,7 @@ Macchiato values when it is missing, so they still run standalone. modules/ one file per module, by source styles/ style.css imports the rest in order icons/ the two icons the icon theme lacks - bin/ wb-icon, wb-idle, and the two dot scripts + bin/ wb-icon, wb-lang, and the two dot scripts Wildcard `include` has been broken since waybar v0.14.0, so `config.jsonc` lists every module file explicitly. |
