polytreewm/settings.h

34 lines
1.1 KiB
C
Raw Normal View History

2021-11-13 11:31:28 -05:00
#ifndef _SETTINGS_H
#define _SETTINGS_H
#include <stdbool.h>
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);
bool settings_get_enable_border_for_single_window();
void settings_set_enable_border_for_single_window(bool new_enable_border_for_single_window);
bool settings_get_enable_gap_for_single_window();
void settings_set_enable_gap_for_single_window(bool new_enable_gap_for_single_window);
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);
2021-11-13 11:31:28 -05:00
#endif // _SETTINGS_H