File: settings.h

package info (click to toggle)
dunst 1.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 484 kB
  • ctags: 519
  • sloc: ansic: 3,699; sh: 170; makefile: 76
file content (60 lines) | stat: -rw-r--r-- 1,637 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */
#pragma once

typedef struct _settings {
        bool print_notifications;
        bool allow_markup;
        bool stack_duplicates;
        char *font;
        char *normbgcolor;
        char *normfgcolor;
        char *critbgcolor;
        char *critfgcolor;
        char *lowbgcolor;
        char *lowfgcolor;
        char *format;
        int timeouts[3];
        char *icons[3];
        unsigned int transparency;
        char *geom;
        char *title;
        char *class;
        int shrink;
        int sort;
        int indicate_hidden;
        int idle_threshold;
        int show_age_threshold;
        enum alignment align;
        float bounce_freq;
        int sticky_history;
        int history_length;
	int show_indicators;
        int verbosity;
        int word_wrap;
        int ignore_newline;
        int line_height;
        int separator_height;
        int padding;
        int h_padding;
        enum separator_color sep_color;
        char *sep_custom_color_str;
        char *sep_color_str;
        int frame_width;
        char *frame_color;
        int startup_notification;
        int monitor;
        char *dmenu;
        char **dmenu_cmd;
        char *browser;
        enum icon_position_t icon_position;
        char *icon_folders;
        enum follow_mode f_mode;
        keyboard_shortcut close_ks;
        keyboard_shortcut close_all_ks;
        keyboard_shortcut history_ks;
        keyboard_shortcut context_ks;
} settings_t;

extern settings_t settings;

void load_settings(char *cmdline_config_path);