Anybar mac2/27/2023 It's different in several ways:ĭwmc only allows sending pre-defined signals with pre-defined arguments, the IPC patch allows you to send pre-defined commands with arbitrary arguments in a much less hacky way. I don't know too much about it, but its functionality is very limited in comparison with dwm-ipc. The dwmc patch is a bit of a hacky solution to communicating with dwm. will look through them to see if one of them might be causing these issues.) (Might be worth mentioning that I've applied a fair amount of patches to my dwm build. Have other's experienced this problem, and do you know what the problem might be? So it seems indeed like dwm thinks the y coordinate of the bar is 0?Īnyway, great work! As for now, I've solved the issue by toggling polybar by killing and restarting it, and using the inset patch to account for the y offset, but it would be great to have it all work with the anybar patch. I ran "dwm-msg get_monitors" and this was the output for the bar section: And even though my bar doesn't cover the entire width of the screen, my compositor seems to apply blur and shadows as if the bar was. If I hide the bar, and then show it again, the bar will ignore both offset-x and offset-y (that is, it will be placed in the top left corner). There's another issue when toggling the bar. "override-redirect" is indeed set to false in the polybar config file. If offset-y is set to 0, then there's no issue. Some space is made for the bar, but this only accounts for the height of the bar. When I start polybar (using the anybar patch), the bar itself is placed correctly, however it will slightly overlap with the top of the windows. However, I got a few issues.įirst of, it seems like dwm ignores the "offset-y" coordinate of polybar, at least for me. Hey! Awesome work! Implemented all your patches after I got tired of trying to configure the default dwm bar. If you guys have any questions, I'd be happy to answer them. This project can be found here: Īnd thats it! I hope you guys find these projects useful and I'd love to see people use these to develop even cooler extensions to dwm. This project is used mainly by polybar for simplifying communication with dwm, but can be used in other C++ projects. This is a C++ client library for interacting with an IPC-patched dwm. The fourth project is an extension of the IPC patch called dwmipcpp. This means dwm can toggle the bar and automatically make room for the bar just like dwm's status bar. The third project is the anybar patch for dwm which allows dwm to manage external status bars like polybar or lemonbar as if it were its own. I've created an extensive wiki on GitHub. It comes with dwm-msg, a cli-client for interacting with dwm through the socket which can significantly open up the possibilities for convenience scripts, etc. You can run user-defined commands and subscribe to events through this socket. The second project is an IPC patch for dwm which allows communication through a UNIX socket. I'm planning to create a pull-request and hoping to merge it upstream. This project works best with the anybar patch I created. This project requires the IPC patch I created for dwm to implement a fully functional status bar that supports displaying the current tags, layout, window title, and floating state, all with click handlers. The first project is a polybar dwm module. I'm happy to say, they are all in a polished enough state that I'm ready to share it with you all! No-code required.I've been working on this series of projects for about a month now.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |