mirror of
https://github.com/swaywm/sway.git
synced 2025-11-01 22:58:41 -04:00
swaynag: split config into own file and fix optind
This commit is contained in:
parent
58f3fa74ae
commit
6124d0f9a2
6 changed files with 315 additions and 289 deletions
13
include/swaynag/config.h
Normal file
13
include/swaynag/config.h
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#ifndef _SWAY_NAGBAR_CONFIG_H
|
||||
#define _SWAY_NAGBAR_CONFIG_H
|
||||
#include "swaynag/nagbar.h"
|
||||
#include "list.h"
|
||||
|
||||
int nagbar_parse_options(int argc, char **argv, struct sway_nagbar *nagbar,
|
||||
list_t *types, char **config, bool *debug);
|
||||
|
||||
char *nagbar_get_config_path(void);
|
||||
|
||||
int nagbar_load_config(char *path, struct sway_nagbar *nagbar, list_t *types);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue