My little contribution to xmonad-contrib, adding functionality to the marvelous xmonad tiling window manager, I love and use since a couple of years.
Simple extensions of the pretty printer to differentiate between empty and non-empty visible workspaces. Analogical to the existing functionality for hidden workspaces. Particularly useful if some displays managed by xmonad are turned off temporarily.
The new ‘ppVisibleNoWindows’ function was wrapped in a Maybe data type. Its value dafaults to ‘Nothing’ and ‘ppVisible’ is used as fallback.
My TV is often turned off. Still I want to know if its workspace contains any windows, without having to switch workspaces.