mirror of
https://github.com/swaywm/sway.git
synced 2025-11-01 22:58:41 -04:00
swaynag: refactor {sway_,}nagbar to swaynag
This commit is contained in:
parent
6124d0f9a2
commit
a6145914c6
10 changed files with 415 additions and 411 deletions
|
|
@ -1,13 +1,13 @@
|
|||
#ifndef _SWAY_NAGBAR_CONFIG_H
|
||||
#define _SWAY_NAGBAR_CONFIG_H
|
||||
#include "swaynag/nagbar.h"
|
||||
#ifndef _SWAYNAG_CONFIG_H
|
||||
#define _SWAYNAG_CONFIG_H
|
||||
#include "swaynag/swaynag.h"
|
||||
#include "list.h"
|
||||
|
||||
int nagbar_parse_options(int argc, char **argv, struct sway_nagbar *nagbar,
|
||||
int swaynag_parse_options(int argc, char **argv, struct swaynag *swaynag,
|
||||
list_t *types, char **config, bool *debug);
|
||||
|
||||
char *nagbar_get_config_path(void);
|
||||
char *swaynag_get_config_path(void);
|
||||
|
||||
int nagbar_load_config(char *path, struct sway_nagbar *nagbar, list_t *types);
|
||||
int swaynag_load_config(char *path, struct swaynag *swaynag, list_t *types);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue