aboutsummaryrefslogtreecommitdiffstats
path: root/bin/wb-lang
AgeCommit message (Collapse)AuthorFilesLines
30 hoursfeat: launcher to the DP-1 centre, hamburger for EnglishDanilo M.1-4/+7
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>
34 hoursfeat: a waybar bar for DP-3, themed by udt and drawn with iconsDanilo M.1-0/+46
Builds the bar from scratch as a consumer of unified-desktop-theme: the palette comes from there, the layout and the modules live here. No font glyphs anywhere. Every symbol is a real icon from the icon theme GTK already uses, which needs all three of waybar's mechanisms because no single one covers everything: the icon-theme config key for the taskbar and tray, `image` modules driving wb-icon/wb-lang for volume, microphone, presentation mode and the keyboard flag, and CSS background-image for the workspaces, the clock pair and the launcher. The workspace icons have to be CSS because format-icons takes text rather than paths, and faking the strip with eight custom modules would have cost click-to-switch and the active and urgent states. The language flag goes the other way: hyprland/language styles as #language with no per-language class, so the flag could not be selected, and it is an image module. Icons keep their own colours: 2466 of the theme's 5169 panel icons carry a hardcoded gradient and are not recolourable, which is the intended look here. The two icons the theme lacks are shipped instead, and the monochrome Slackware mark takes the udt accent at install time. vms_dots.sh and privacy_dots.sh lived only in ~/bin, in no repository at all. They are versioned here now, symlinked back, and their hardcoded state colours read from the palette. Installs alongside the existing bar rather than over it, so DP-1 keeps working while this one is tried on DP-3. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>