Skip to content

Required "beautiful" library is bad practice approach #274

@raven2cz

Description

@raven2cz

I checked widgets inside this git project.
There are several problems which preclude general usage of this library (for example against lain libs).
I will describe few points for beginning:

  • required "beautiful" library cannot be use directly in the widgets. New style of AW configuration has part of widgets configuration BEFORE than the beautiful instance is ready. So, the required instance is nil.
  • In addition, widget cannot directly takes beautiful.fg_normal, beautiful.bg_normal, etc. This is not acceptable for common library widgets. You have to implement default values and allow to declare override parameters by user settings. Look to "lain" and "nice" git repos how this is solved.
  • do you have or do you plan some unit tests? This project can have big potential but it needs stable and continual testing.

AW is very good WM. Good and robust widgets can improve this WM to new level.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions