As its name suggests, X.L.ShowWName is currently implemented as a layout modifier[^1]. This is, however, quite awkward to use and extend. It would be much better to have it as a logHook and—because this is sadly not that well-typed—keeping track of the "last" workspace via some extensible state. This would enable
a simpler implementation by i) not being a layout and having to perform all of the ceremonies that entails and ii) avoiding all of the timer calls and needing to handle messages (I reckon we'd only need a simple call to threadDelay behind an xfork)
easier customization options; for example, stripping status bar markup or displaying arbitrary text for specific workspaces
The latter is probably also possible with the current implementation, but the former seems like a decent enough reason for the change.
[^1]: According to geekosaur, because it actually preceeds the existence of extensible state.
Feature Description
As its name suggests, X.L.ShowWName is currently implemented as a layout modifier[^1]. This is, however, quite awkward to use and extend. It would be much better to have it as a logHook and—because this is sadly not that well-typed—keeping track of the "last" workspace via some extensible state. This would enable
threadDelay
behind anxfork
)The latter is probably also possible with the current implementation, but the former seems like a decent enough reason for the change.
[^1]: According to geekosaur, because it actually preceeds the existence of extensible state.