mirror of
https://github.com/swaywm/sway.git
synced 2025-11-16 06:59:49 -05:00
Add get_config message type to ipc
This commit is contained in:
parent
5fd36164a0
commit
23c1c26c3f
9 changed files with 76 additions and 18 deletions
|
|
@ -14,6 +14,7 @@ enum ipc_command_type {
|
|||
IPC_GET_BAR_CONFIG = 6,
|
||||
IPC_GET_VERSION = 7,
|
||||
IPC_GET_BINDING_MODES = 8,
|
||||
IPC_GET_CONFIG = 9,
|
||||
|
||||
// sway-specific command types
|
||||
IPC_GET_INPUTS = 100,
|
||||
|
|
|
|||
|
|
@ -341,6 +341,7 @@ struct sway_config {
|
|||
int gaps_outer;
|
||||
|
||||
list_t *config_chain;
|
||||
const char *current_config_path;
|
||||
const char *current_config;
|
||||
|
||||
enum sway_container_border border;
|
||||
|
|
@ -496,7 +497,4 @@ void config_update_font_height(bool recalculate);
|
|||
/* Global config singleton. */
|
||||
extern struct sway_config *config;
|
||||
|
||||
/* Config file currently being read */
|
||||
extern const char *current_config_path;
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue