aboutsummaryrefslogtreecommitdiffstats
path: root/modules
AgeCommit message (Collapse)AuthorFilesLines
32 hoursfix: make the launcher mark load and drawDanilo M.1-3/+5
Three faults stacked on the same pill, each hidden by the one before it. A module's `path` is not shell-expanded the way `exec` is, so "$HOME/..." was taken literally, no file was found, and the module drew nothing without logging why. The module file is generated into place now, with the absolute path written in, which is why install.sh removes the target first: an earlier install had symlinked that file, and a redirect onto a surviving link truncates the link's target, which is the repo's own copy. With a real path to try, gdk-pixbuf then refused the file. The XML was well-formed, but the loader sniffs the opening bytes for "<svg" to choose a decoder, and the licence comment sat in front of the root element. The comment is inside the SVG now, and a note in the file says why it has to stay there. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
34 hoursfix: draw the launcher, and prune stale links on installDanilo M.2-13/+17
A custom module renders nothing at all when its format is empty, and the format has to be empty because the Slackware mark is an icon rather than text, so the launcher pill never appeared. It is an image module now, which takes a path and needs no label: the same reason the language flag is one. install.sh only ever added links, so the module file this replaces left a dangling symlink behind that every later install would step over. It now prunes links whose source has gone, and a reinstall repairs itself. 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.10-0/+199
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>