mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-04-19 23:31:25 +02:00
feat(wm): add query command to cli
Added a query command to komorebic to return the WindowManager struct serialized to JSON to help with debugging and maybe help others to build tools like stackline for yabai in the future.
This commit is contained in:
@@ -51,7 +51,7 @@ pub enum SocketMessage {
|
||||
FloatClass(String),
|
||||
FloatExe(String),
|
||||
FloatTitle(String),
|
||||
// TODO: Add some state query commands
|
||||
State,
|
||||
}
|
||||
|
||||
impl SocketMessage {
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
use serde::Serialize;
|
||||
|
||||
use bindings::Windows::Win32::Foundation::RECT;
|
||||
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
#[derive(Debug, Clone, Copy, Serialize)]
|
||||
pub struct Rect {
|
||||
pub left: i32,
|
||||
pub top: i32,
|
||||
|
||||
Reference in New Issue
Block a user