kalj / xmonad-log-applet

An applet that will display Xmonad log information
https://github.com/alexkay/xmonad-log-applet
BSD 3-Clause "New" or "Revised" License
4 stars 4 forks source link

Discussion: Configuration in applet or xmonad? #2

Open kalj opened 7 years ago

kalj commented 7 years ago

I have played around quite a bit with the formatting/layout of the applet, and been quite frustrated with the fact that things are done in two different places at once -- the applet code, and the xmonad configuration. It would be nice to clean up this mess. In my opinion, it really makes sense to have the applet be responsible for how it looks -- there could be a right-click menu where you can configure the ordering of stuff, whether it should expand or have a fixed size, the colors and fonts to use, etc. Then the xmonad configuration simply has to send the right data in a predefined fixed format. I would be happy to get some input on this idea by anyone who has an opinion! Also, if you have other suggestions for improvements I would be happy to discuss this, here in or maybe in a better channel.

Cheers!

u-quark commented 7 years ago

I think it is a good idea. I would first make sure that it works properly on all desktop environments supported (the current code is not working for me in Gnome). I agree that the looks config should be managed on the applet itself. I could help more with the Haskell side of things.

fabiodl commented 6 years ago

I second u-quark. The applet is not working anymore in gnome 3.26.1 (I tried it in ubuntu 17.10). The code compiles, the applet is installed, but it remains empty whatever string xmonad sends. I confirmed xmonad is sending with dbus-monitor. Not even the "Waiting for xmonad..." string is visible