feat: dwm bar #10
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
doom/Mu#10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
dwm.c:711contains awhen rendering the bar, that's good news, since we can probably set a general colorscheme for everything dwm!
This looks like the function that draws the workspace-selector part of the bar:
That would, presumably, imply that
tagscontrols the text that gets in there!Pretty sure that this sets & subsequently draws the layout symbol:
dwm.c:732All of the bars work by setting the "root title" via:
This appears to work via the rendering here:
which pulls the data from:
Why by default simply writes the
dwm-${VERSION}...That is called on:
Added a clock to the bar in
48703e463fAs far as I understood, coloring the bar in a custom way requires a custom patch that processes color variables that get passed as text.
Something that could be a patch for that can be found here:
https://github.com/Haini/dwm/blob/master/statuscolors.diff
The script I referenced for inspiration in #3 (https://github.com/ab9il/dwm-bar) uses
\^c(?<color>#[a-f0-9]{,6})\^for colors for example. Unfortunately, it does not reference any patches (other thanextra-barthat could help identifying how the color parsing is done)Another thing would be to embed the status of
sshdon the bar.Offline/[listening-interface](e.g.100.64.0.9)