aboutsummaryrefslogtreecommitdiffstats
path: root/include/swaynag/config.h
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-07-28 22:56:12 -0400
committerLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-08-01 22:47:54 -0400
commit6124d0f9a202ba2f39125602a35bb47d3742022b (patch)
treefbc9b0fac38809907d51bdcc7b30367c623e7b55 /include/swaynag/config.h
parentDisable pango markup for extended message (diff)
downloadsway-6124d0f9a202ba2f39125602a35bb47d3742022b.tar.gz
sway-6124d0f9a202ba2f39125602a35bb47d3742022b.tar.zst
sway-6124d0f9a202ba2f39125602a35bb47d3742022b.zip
swaynag: split config into own file and fix optind
Diffstat (limited to 'include/swaynag/config.h')
-rw-r--r--include/swaynag/config.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/swaynag/config.h b/include/swaynag/config.h
new file mode 100644
index 00000000..caa32710
--- /dev/null
+++ b/include/swaynag/config.h
@@ -0,0 +1,13 @@
1#ifndef _SWAY_NAGBAR_CONFIG_H
2#define _SWAY_NAGBAR_CONFIG_H
3#include "swaynag/nagbar.h"
4#include "list.h"
5
6int nagbar_parse_options(int argc, char **argv, struct sway_nagbar *nagbar,
7 list_t *types, char **config, bool *debug);
8
9char *nagbar_get_config_path(void);
10
11int nagbar_load_config(char *path, struct sway_nagbar *nagbar, list_t *types);
12
13#endif