1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-07-04 04:01:03 +02:00

feat: ipc server and cli

This commit is contained in:
Jake Stanger 2023-06-22 23:06:45 +01:00
parent 93baf8f568
commit f5bdc5a027
No known key found for this signature in database
GPG key ID: C51FC8F9CB0BEA61
10 changed files with 427 additions and 6 deletions

14
src/ipc/commands.rs Normal file
View file

@ -0,0 +1,14 @@
use clap::Subcommand;
use serde::{Deserialize, Serialize};
use std::path::PathBuf;
#[derive(Subcommand, Debug, Serialize, Deserialize)]
#[serde(tag = "type")]
pub enum Command {
/// Return "ok"
Ping,
/// Open the GTK inspector
Inspect,
}