DelusionalLogic / bard

System for managing lemonboy bar
GNU General Public License v3.0
11 stars 2 forks source link

Per-monitor units #7

Open SevereOverfl0w opened 7 years ago

SevereOverfl0w commented 7 years ago

https://github.com/DelusionalLogic/dotfiles/issues/1 Migrated from my mistake here.

Sorry, me again!

It would be nice to filter using the current monitor for something like i3 workspaces which are allocated per-monitor.

Is there an environment variable of some kind with the "current" monitor being rendered? This is obviously a little more complex, as commands might need running twice, which might not be part of the current design.

Not sure if we have access to the index or actual monitor name either, which might change the design.

SevereOverfl0w commented 7 years ago

I think your plan for rendering units on a particular monitor is good. It would make it very easy to separate rendering and/or commands as needed for a monitor.

Would it be better to reference monitors by index or name? Name seems harder with lemonbar (but might not be!), but would work better with things like BSPWM where you are given the monitor name.