diff --git a/Cargo.toml b/Cargo.toml index d2010dd..b1e4ed9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,3 +14,5 @@ serde_json = "1.0.59" clap = "3.0.0-beta.2" users = "0.11.0" swayipc = "2.7.2" +toml = "0.5.8" +directories = "3.0" diff --git a/src/config.rs b/src/config.rs new file mode 100644 index 0000000..25e55ee --- /dev/null +++ b/src/config.rs @@ -0,0 +1,17 @@ +#[derive(Serialize, Deserialize)] +pub struct Config { + launcher: Option, + format: Option, +} + +#[derive(Serialize, Deserialize)] +pub struct Launcher { + executable: Option, + args: Option>, +} + +#[derive(Serialize, Deserialize)] +pub struct Format { + window_format: Option, + workspace_format: Option, +}