moved ipc constants to module
This commit is contained in:
parent
e183405d5a
commit
830c2d793a
27
src/ipc.rs
Normal file
27
src/ipc.rs
Normal file
@ -0,0 +1,27 @@
|
||||
#![allow(dead_code)]
|
||||
|
||||
pub const IPC_RUN_COMMAND: u32 = 0;
|
||||
pub const IPC_GET_WORKSPACES: u32 = 1;
|
||||
pub const IPC_SUBSCRIBE: u32 = 2;
|
||||
pub const IPC_GET_OUTPUTS: u32 = 3;
|
||||
pub const IPC_GET_TREE: u32 = 4;
|
||||
pub const IPC_GET_MARKS: u32 = 5;
|
||||
pub const IPC_GET_BAR_CONFIG: u32 = 6;
|
||||
pub const IPC_GET_VERSION: u32 = 7;
|
||||
pub const IPC_GET_BINDING_MODES: u32 = 8;
|
||||
pub const IPC_GET_CONFIG: u32 = 9;
|
||||
pub const IPC_SEND_TICK: u32 = 10;
|
||||
pub const IPC_SYNC: u32 = 11;
|
||||
pub const IPC_GET_BINDING_STATE: u32 = 12;
|
||||
pub const IPC_GET_INPUTS: u32 = 100;
|
||||
pub const IPC_GET_SEATS: u32 = 101;
|
||||
|
||||
pub const EVENT_WORKSPACE: &str = "workspace";
|
||||
pub const EVENT_MODE: &str = "mode";
|
||||
pub const EVENT_WINDOW: &str = "window";
|
||||
pub const EVENT_BARCONFIG_UPDATE: &str = "barconfig_update";
|
||||
pub const EVENT_BINDING: &str = "binding";
|
||||
pub const EVENT_SHUTDOWN: &str = "shutdown";
|
||||
pub const EVENT_TICK: &str = "tick";
|
||||
pub const EVENT_BAR_STATE_UPDATE: &str = "bar_state_update";
|
||||
pub const EVENT_INPUT: &str = "input";
|
Loading…
Reference in New Issue
Block a user