forked from external/yambar
bar: add bar->output_name(), returns the name of the output we’re on
This commit is contained in:
parent
96a35e5304
commit
74016d7d33
5 changed files with 29 additions and 0 deletions
|
@ -12,6 +12,8 @@ struct bar {
|
|||
|
||||
void (*refresh)(const struct bar *bar);
|
||||
void (*set_cursor)(struct bar *bar, const char *cursor);
|
||||
|
||||
const char *(*output_name)(const struct bar *bar);
|
||||
};
|
||||
|
||||
enum bar_location { BAR_TOP, BAR_BOTTOM };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue