aboutsummaryrefslogtreecommitdiffstats
path: root/sway/sway-ipc.7.scd
diff options
context:
space:
mode:
Diffstat (limited to 'sway/sway-ipc.7.scd')
-rw-r--r--sway/sway-ipc.7.scd43
1 files changed, 38 insertions, 5 deletions
diff --git a/sway/sway-ipc.7.scd b/sway/sway-ipc.7.scd
index c7a2c473..2f697248 100644
--- a/sway/sway-ipc.7.scd
+++ b/sway/sway-ipc.7.scd
@@ -337,8 +337,9 @@ node and will have the following properties:
337 this, but borders are included. 337 this, but borders are included.
338|- window_rect 338|- window_rect
339: object 339: object
340: The geometry of the contents inside the node. The window decorations are 340: The geometry of the content inside the node. These coordinates are relative
341 excluded from this calculation, but borders are included. 341 to the node itself. Window decorations and borders are outside the
342 _window_rect_
342|- deco_rect 343|- deco_rect
343: object 344: object
344: The geometry of the decorations for the node relative to the parent node 345: The geometry of the decorations for the node relative to the parent node
@@ -375,6 +376,12 @@ node and will have the following properties:
375: integer 376: integer
376: (Only containers and views) The fullscreen mode of the node. 0 means none, 1 means 377: (Only containers and views) The fullscreen mode of the node. 0 means none, 1 means
377 full workspace, and 2 means global fullscreen 378 full workspace, and 2 means global fullscreen
379|- floating
380: string
381: Floating state of container. Can be either "auto_off" or "user_on"
382|- scratchpad_state
383: string
384: Whether the window is in the scratchpad. Can be either "none" or "fresh"
378|- app_id 385|- app_id
379: string 386: string
380: (Only views) For an xdg-shell view, the name of the application, if set. 387: (Only views) For an xdg-shell view, the name of the application, if set.
@@ -1039,7 +1046,7 @@ An object with a single string property containing the contents of the config
1039*Example Reply:* 1046*Example Reply:*
1040``` 1047```
1041{ 1048{
1042 "config": "set $mod Mod4\nbindsym $mod+q exit\n" 1049 "config": "set $mod Mod4\\nbindsym $mod+q exit\\n"
1043} 1050}
1044``` 1051```
1045 1052
@@ -1194,9 +1201,16 @@ following properties will be included for devices that support them:
1194: int 1201: int
1195: The scroll button to use when _scroll_method_ is _on_button_down_. This 1202: The scroll button to use when _scroll_method_ is _on_button_down_. This
1196 will be given as an input event code 1203 will be given as an input event code
1204|- scroll_button_lock
1205: string
1206: Whether scroll button lock is enabled. It can be _enabled_ or _disabled_
1197|- dwt 1207|- dwt
1198: string 1208: string
1199: Whether disable-while-typing is enabled. It can be _enabled_ or _disabled_ 1209: Whether disable-while-typing is enabled. It can be _enabled_ or _disabled_
1210|- dwtp
1211: string
1212: Whether disable-while-trackpointing is enabled. It can be _enabled_ or
1213 _disabled_
1200|- calibration_matrix 1214|- calibration_matrix
1201: array 1215: array
1202: An array of 6 floats representing the calibration matrix for absolute 1216: An array of 6 floats representing the calibration matrix for absolute
@@ -1236,7 +1250,8 @@ following properties will be included for devices that support them:
1236 "click_method": "button_areas", 1250 "click_method": "button_areas",
1237 "middle_emulation": "disabled", 1251 "middle_emulation": "disabled",
1238 "scroll_method": "edge", 1252 "scroll_method": "edge",
1239 "dwt": "enabled" 1253 "dwt": "enabled",
1254 "dwtp": "enabled"
1240 } 1255 }
1241 }, 1256 },
1242 { 1257 {
@@ -1363,7 +1378,8 @@ one seat. Each object has the following properties:
1363 "click_method": "button_areas", 1378 "click_method": "button_areas",
1364 "middle_emulation": "disabled", 1379 "middle_emulation": "disabled",
1365 "scroll_method": "edge", 1380 "scroll_method": "edge",
1366 "dwt": "enabled" 1381 "dwt": "enabled",
1382 "dwtp": "enabled"
1367 } 1383 }
1368 }, 1384 },
1369 { 1385 {
@@ -1439,6 +1455,9 @@ available:
1439: workspace 1455: workspace
1440:[ Sent whenever an event involving a workspace occurs such as initialization 1456:[ Sent whenever an event involving a workspace occurs such as initialization
1441 of a new workspace or a different workspace gains focus 1457 of a new workspace or a different workspace gains focus
1458|- 0x80000001
1459: output
1460: Sent when outputs are updated
1442|- 0x80000002 1461|- 0x80000002
1443: mode 1462: mode
1444: Sent whenever the binding mode changes 1463: Sent whenever the binding mode changes
@@ -1559,6 +1578,20 @@ The following change types are currently available:
1559} 1578}
1560``` 1579```
1561 1580
1581## 0x80000001. OUTPUT
1582
1583Sent whenever an output is added, removed, or its configuration is changed.
1584The event is a single object with the property _change_, which is a string
1585containing the reason for the change. Currently, the only value for _change_ is
1586_unspecified_.
1587
1588*Example Event:*
1589```
1590{
1591 "change": "unspecified"
1592}
1593```
1594
1562## 0x80000002. MODE 1595## 0x80000002. MODE
1563 1596
1564Sent whenever the binding mode changes. The event consists of a single object 1597Sent whenever the binding mode changes. The event consists of a single object