feat: change socket nomenclature + implement events provider
This commit is contained in:
parent
389c4b3ee6
commit
05e12ea2f2
5 changed files with 212 additions and 65 deletions
11
lib/main.rs
11
lib/main.rs
|
@ -8,4 +8,15 @@ pub enum TagCmd {
|
|||
DisableTag(u8),
|
||||
ToggleTagOnWin(u8),
|
||||
ToggleTag(u8),
|
||||
// TODO
|
||||
// ExclusiveTag(u8),
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug)]
|
||||
pub enum TagEvent {
|
||||
TagEmpty(u8),
|
||||
TagOccupied(u8),
|
||||
TagUrgent(u8),
|
||||
TagEnabled(u8),
|
||||
TagDisabled(u8),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue