Move setting enums to settings.h
Not sure why these were in dunst.h in the first place since they are mostly used by the settings struct.
This commit is contained in:
parent
964688699e
commit
63bb4ad857
@ -19,11 +19,6 @@
|
||||
#define ColFG 1
|
||||
#define ColBG 0
|
||||
|
||||
enum alignment { left, center, right };
|
||||
enum icon_position_t { icons_left, icons_right, icons_off };
|
||||
enum separator_color { FOREGROUND, AUTO, FRAME, CUSTOM };
|
||||
enum follow_mode { FOLLOW_NONE, FOLLOW_MOUSE, FOLLOW_KEYBOARD };
|
||||
|
||||
extern int verbosity;
|
||||
extern GQueue *queue;
|
||||
extern GQueue *displayed;
|
||||
|
@ -2,6 +2,11 @@
|
||||
#ifndef DUNST_SETTINGS_H
|
||||
#define DUNST_SETTINGS_H
|
||||
|
||||
enum alignment { left, center, right };
|
||||
enum icon_position_t { icons_left, icons_right, icons_off };
|
||||
enum separator_color { FOREGROUND, AUTO, FRAME, CUSTOM };
|
||||
enum follow_mode { FOLLOW_NONE, FOLLOW_MOUSE, FOLLOW_KEYBOARD };
|
||||
|
||||
typedef struct _settings {
|
||||
bool print_notifications;
|
||||
bool allow_markup;
|
||||
|
Loading…
x
Reference in New Issue
Block a user