sminez / penrose

A library for writing an X11 tiling window manager
https://sminez.github.io/penrose/
MIT License
1.27k stars 88 forks source link

widget example? #233

Closed greweln closed 2 years ago

greweln commented 2 years ago

Hello,

This is more a request for help. I really like Penrose but I don't have much knowledege in Rust yet (and in programing in general) to be able to write a bar widget. I was looking everywhere for a source of inspiration but can't seem to find one. Can someone please share a snippet of how exactly to code a widget (let's say volume status or ram usage)? It would really help me a lot.

Thank you

itcreator commented 2 years ago

Also, would be nice to have some links to 3-rd party widgets

sminez commented 2 years ago

I really wouldn't advise dedicating time to writing widgets for the built in status bar I'm afraid: it is more of a proof of concept than a fully functional status bar. The rewrite I am close to merging provides much better EWMH compatibility which supports using things like polybar out of the box 👍