polytreewm/settings.h

47 lines
1.6 KiB
C
Raw Normal View History

2021-11-13 11:31:28 -05:00
#ifndef _SETTINGS_H
#define _SETTINGS_H
#include <stdbool.h>
typedef enum {
SETTINGS_FOR_SINGLE_WINDOW_NEVER,
SETTINGS_FOR_SINGLE_WINDOW_ALWAYS,
SETTINGS_FOR_SINGLE_WINDOW_NOT_IN_FULLSCREEN,
SETTINGS_FOR_SINGLE_WINDOW_NOBODY_IS_FULLSCREEN,
} SettingsForSingleWindow;
2021-11-14 23:05:57 -05:00
int settings_get_border_width();
void settings_set_border_width(int new_border_width);
int settings_get_default_clients_in_master();
void settings_set_default_clients_in_master(int new_default_clients_in_master);
SettingsForSingleWindow settings_get_border_for_single_window();
void settings_set_border_for_single_window(SettingsForSingleWindow new_border_for_single_window);
SettingsForSingleWindow settings_get_gap_for_single_window();
void settings_set_gap_for_single_window(SettingsForSingleWindow new_gap_for_single_window);
bool settings_get_enable_swallowing();
void settings_set_enable_swallowing(bool new_enable_swallowing);
2021-11-13 11:31:28 -05:00
bool settings_get_focus_on_wheel();
void settings_set_focus_on_wheel(bool new_focus_on_wheel);
int settings_get_gap_size();
void settings_set_gap_size(int new_gap_size);
int settings_get_max_clients_in_master();
void settings_set_max_clients_in_master(int new_max_clients_in_master);
bool settings_get_respect_resize_hints_in_floating_layout();
void settings_set_respect_resize_hints_in_floating_layout(bool new_respect_resize_hints_in_floating_layout);
unsigned int settings_get_snap_distance();
void settings_set_snap_distance(unsigned int new_snap_distance);
bool settings_get_swallow_floating();
void settings_set_swallow_floating(bool new_swallow_floating);
2021-11-13 11:31:28 -05:00
#endif // _SETTINGS_H