Skip to content

Instantly share code, notes, and snippets.

@pdonadeo
Created May 25, 2019 10:25
Show Gist options
  • Save pdonadeo/d49adfd431d37813e3c2b9ba1d383c10 to your computer and use it in GitHub Desktop.
Save pdonadeo/d49adfd431d37813e3c2b9ba1d383c10 to your computer and use it in GitHub Desktop.
comparing output of `i3-msg` and `i3_msg`
{
"border": "pixel",
"current_border_width": 2,
"deco_rect": {
"height": 22,
"width": 564,
"x": 0,
"y": 44
},
"floating": "auto_off",
"floating_nodes": [],
"focus": [],
"focused": false,
"fullscreen_mode": 0,
"geometry": {
"height": 1028,
"width": 572,
"x": 2,
"y": 50
},
"id": 93862385097088,
"last_split_layout": "splith",
"layout": "splith",
"marks": [ "tel" ],
"name": "Telegram (142)",
"nodes": [],
"orientation": "none",
"output": "DVI-D-0",
"percent": 0.3333333333333333,
"rect": {
"height": 970,
"width": 564,
"x": 8,
"y": 102
},
"scratchpad_state": "none",
"sticky": false,
"swallows": [],
"type": "con",
"urgent": false,
"window": 41943046,
"window_properties": {
"class": "TelegramDesktop",
"instance": "telegram-desktop",
"title": "Telegram (142)",
"transient_for": null
},
"window_rect": {
"height": 968,
"width": 560,
"x": 2,
"y": 0
},
"workspace_layout": "default"
}
{
border = I3ipc.Reply.Border_pixel;
current_border_width = 2;
deco_rect = {
I3ipc.Reply.x = 0;
y = 44;
width = 564;
height = 22
};
(* MISSING "floating": "auto_off", *)
floating_nodes = [];
focus = [];
focused = false;
(* MISSING "fullscreen_mode": 0, *)
geometry = {
I3ipc.Reply.x = 2;
y = 50;
width = 572;
height = 1028
};
id = 169810304l; (* WRONG! *)
(* MISSING "last_split_layout": "splith", *)
layout = I3ipc.Reply.SplitH;
(* MISSING "marks": [ "tel" ], *)
name = (Some "Telegram (155)");
I3ipc.Reply.nodes = [];
(* MISSING "orientation": "none", *)
(* MISSING "output": "DVI-D-0", *)
percent = (Some 0.333333333333);
rect = {
I3ipc.Reply.x = 8;
y = 102;
width = 564;
height = 970
};
(* MISSING "scratchpad_state": "none", *)
(* MISSING "sticky": false, *)
(* MISSING "swallows": [], *)
nodetype = I3ipc.Reply.Con;
urgent = false;
window = (Some 41943046);
window_properties = (Some {
I3ipc.Reply.class_ = (Some "TelegramDesktop");
instance = (Some "telegram-desktop");
title = (Some "Telegram (155)");
transient_for = None; window_role = None
});
window_rect = {
I3ipc.Reply.x = 2;
y = 0;
width = 560;
height = 968
};
(* MISSING "workspace_layout": "default" *)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment