diogox / bspm

The bspwm manager
8 stars 0 forks source link

Add subcommand to subscribe to number of monocled nodes in desktop #11

Closed diogox closed 3 years ago

diogox commented 3 years ago

Add support for bspm monocle --subscribe count_nodes or something like it, that returns the number of nodes (hidden + focused) in a given desktop with "transparent monocle" mode activated, as that number changes.

diogox commented 3 years ago

I imagine this might be useful to setup an indicator in a bar, like polybar for example. Not that I've done that before, so this initial implementation might have to be changed to better support that.