Open txtyash opened 1 year ago
- Cannot to remove widgets
- Cannot reposition widgets
I've had those features in mind for a long time, but it has been always hindered by 2 things:
[variable]: [value]
format, let me know. (Major issue)If you really want to modify the order of things, you can make a plugin for that by copying src/Bar.cpp
into e.g. example
, adding DEFINE_PLUGIN(Create)
, modifying the order of the AddChild
calls and then building it as a plugin as outlined in the README. Please note though, that you may need to rebuild/remodify the plugin with every gBar update.
- Network manager applet not visible in the tray
Do you mean nm-applet --indicator
? That should be fixed with the commit I just pushed (18f3e123ed8e323b821fcbe8c44ca63011f8fd0c)
- Cannot change bar position on screen(top/left/bottom/right)
I'll be working on that.
- The configuration format is not designed for such a level of configuration and hacking it in would be relatively difficult. If you have any ideas for an example configuration format, which ideally abides by the
[variable]: [value]
format, let me know. (Major issue)
I don't know how this file format is parsed but if reordering the widgets is a problem then at least the user should have the ability to decide on which side of the statusbar they need the widget to be and if they even want it. This could be done using tables:
[left]
memory = false # widget invisible
time = true # widget visible
[center]
....
[right]
...
Apologies for the long delay. Anyways, point 4 is now implemented and merged.
Changing the Location of gBar
doesn't rotate the systray. It makes the bar look thicker:
And also the icons appear rotated.
My bad, I forgot that. Should be fixed with f78758c. By the way, you should probably disable CenterTime with the bar on the side, because the bar tends to glitch out when there isn't enough space for it.
also, the bluetooth menu isn't repositioned with the bar location
Should now work with c12bef2
Reordering symbols and widgets is now implemented. The three options WidgetsLeft
, WidgetsCenter
and WidgetsRight
control the layout. If you find any margin/layout issues, please notify me.