aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-15 17:16:25 +0200
committerDanilo M. <danix@danix.xyz>2026-09-15 17:16:25 +0200
commit27a8666422ef02fb8a827ef27be963f0d19610a2 (patch)
tree365d47c3587036bf83feac1cee0096513634a3a2 /README.md
parentfea331158915713d980bafde6c38a6954d5c233b (diff)
downloadwaybar-theme-udt-27a8666422ef02fb8a827ef27be963f0d19610a2.tar.gz
waybar-theme-udt-27a8666422ef02fb8a827ef27be963f0d19610a2.zip
feat: launcher to the DP-1 centre, hamburger for English
The launcher sat in the centre of the DP-3 status bar, which is the narrow rotated screen. It moves to the middle of the DP-1 desktop bar, where the workspaces and the window list already live and there is room either side of it. Each bar object carries its own include list, so the module definition moves with it. English gets the hamburger back. The stock bar drew it with an emoji, which this module cannot do: it is an image module and takes a path, not text. So the emoji ships as an image instead, from Twemoji. Doing it the other way round, reverting to hyprland/language and its format-en text, would have brought the burger back at the cost of turning the Italian flag into an emoji too, and the real flag asset is worth keeping. flag-gb.svg had no reference left after that, so it is deleted, and install.sh removes the copy an earlier install left behind. The docs carried three claims that were wrong rather than merely stale: the launcher was listed as a CSS background when it has been an image module since the mark was fixed, and SPEC still described the udt role work as adding roles named after this bar's modules when what shipped was deleting eleven roles nothing read. The dot colours were described as coming from [state] roles that gen_waybar never emitted. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md25
1 files changed, 14 insertions, 11 deletions
diff --git a/README.md b/README.md
index f44d04e..6abc653 100644
--- a/README.md
+++ b/README.md
@@ -4,8 +4,8 @@ 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).
- DP-3 [📅 Wed 15/09] [🕑 14:32] [●] [S] [●] [✉ 9] [🔊] [tray] [⏻] [🇮🇹]
- DP-1 [1..8] [ open windows ]
+ DP-3 [📅 Wed 15/09] [🕑 14:32] [●] [●] [✉ 9] [🔊] [tray] [⏻] [🇮🇹]
+ DP-1 [1..8] [S] [ 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
@@ -44,8 +44,8 @@ single one covers everything:
| Mechanism | Used by | Why |
| --- | --- | --- |
| `icon-theme` config key | taskbar, tray | Native support, nothing else needed. |
-| `image` module | volume, microphone, presentation mode, language | Runs a script that resolves a state to an icon path. |
-| CSS `background-image` | workspaces, clock, launcher | `format-icons` takes text, not paths. |
+| `image` module | launcher, volume, microphone, language | Takes a path: either static, or from a script that resolves the current state. |
+| CSS `background-image` | workspaces, clock, mail, presentation mode | `format-icons` takes text, not paths. |
The consequence worth knowing: **the workspace icons live in
`styles/modules.css`, not in the module config.** Changing one means editing
@@ -67,21 +67,24 @@ with nothing to say why, so it fails while someone is watching instead.
gradient and are not recolourable. That is intended here: icons match the rest
of the desktop rather than the bar.
-The two icons this repo ships are the exception, because the icon theme has
-neither. `icons/slackware.svg` (Simple Icons, CC0) is single-path monochrome,
-so `install.sh` tints it from the palette. It is filled with the bar's
-background colour rather than the accent, because it sits on the accent pill
-and the accent would render it invisible against itself. The two flags keep
-their national colours.
+The three icons this repo ships are the exception, because the icon theme has
+none of them. `icons/slackware.svg` (Simple Icons, CC0) is single-path
+monochrome, so `install.sh` tints it from the palette. It is filled with the
+bar's background colour rather than the accent, because it sits on the accent
+pill and the accent would render it invisible against itself.
+
+`icons/flag-it.svg` and `icons/burger.svg` (Twemoji, CC-BY 4.0) keep their own
+colours. The hamburger stands in for the English layout, which is what the
+stock bar showed: not a flag, and deliberately so.
## Layout
| Bar | Cluster | Modules |
| --- | --- | --- |
| 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 | centre | launcher |
| DP-1 | right | open windows |
No battery, temperature, CPU, memory or backlight: this is a desktop.