Update config struct, reduce complexity and correctly parse config.ini

This commit is contained in:
Ryan Walklin 2018-11-26 22:08:20 +01:00 committed by Ryan Walklin
parent cc656670b2
commit cd7a6daf48
2 changed files with 30 additions and 5 deletions

View file

@ -67,9 +67,9 @@ struct roots_cursor_config {
};
struct roots_switch_config {
char *name;
enum wlr_switch_type switch_type;
enum wlr_switch_state switch_state;
bool run_on_toggle;
char *command;
struct wl_list link;
};