Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple dwm style status bar #28

Closed
7 tasks done
sminez opened this issue Aug 16, 2020 · 1 comment
Closed
7 tasks done

Simple dwm style status bar #28

sminez opened this issue Aug 16, 2020 · 1 comment
Assignees
Labels
core Changes to penrose core enhancement New feature or request

Comments

@sminez
Copy link
Owner

sminez commented Aug 16, 2020

Is your feature request related to a problem? Please describe.
Currently Penrose requires an external status bar (such as Polybar or Lemonbar) and we don't yet fully support all of the EWMH proerties required to make that experience seemless. This also relies on configuring said bar externally and managing it.

Describe the solution you'd like
Ideally we want to have an easy to use / configure bar that makes use of the Hooks system but initially, an inbuilt dwm style bar that is driven by xsetroot would be nice (especially as existing dwm users can re-use their existing set ups). Going forward, I'd like to get my old Qtile bar working again but that'll be quite a bit more work I suspect.

Describe alternatives you've considered
Currently using Polybar which is fine but I want to have something a little more minimal and the build of Polybar in arch has now broken on me twice since I started using it due to external dependencies changing...

Additional details
It would be nice if eventually this can be a stand alone bar that runs without Penrose but that can be extracted at a later date. At that point, moving the bar (and maybe the draw abstraction?) to its own Crate is probably a good idea.

Requirements

  • New hook added for when the root window name is updated (to allow for re-render when the user updates from their external process)
  • Extract initial low level drawing logic out into a new trait so that it doesn't have to be the default XCB implementation if users don't want it.
  • Refactor current dummy implementation from draw to use the new traits
  • Simple, default status bar widgets:
    • Workspaces (indicating focused and those with active clients)
    • Focused window title (optional icon / default if not focused etc)
    • Static text
@sminez sminez added enhancement New feature or request core Changes to penrose core labels Aug 16, 2020
@sminez sminez self-assigned this Aug 16, 2020
@sminez
Copy link
Owner Author

sminez commented Aug 23, 2020

Initial implementation complete as of v0.1.9

@sminez sminez closed this as completed Aug 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Changes to penrose core enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant