File tree 4 files changed +23
-2
lines changed
4 files changed +23
-2
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ The docs can be found at: https://wiki.miracle-wm.org/latest/.
7
7
## Setup
8
8
``` sh
9
9
python -m venv venv
10
+ source venv/bin/activate
10
11
pip install -r requirements.txt
11
12
```
12
13
Original file line number Diff line number Diff line change
1
+ # Layout
2
+
3
+ Introduced in v0.4.0, the ` layout ` command allows users to to change the layout
4
+ of the currently selected container.
5
+
6
+ ## Example
7
+ ``` sh
8
+ miraclemsg command " layout splitv" # Set the layout to 'vertical'
9
+ miraclemsg command " layout splith" # Set the layout to 'horizontal'
10
+ miraclemsg command " layout toggle split" # Set the layout to 'vertical' if 'horizontal' and vice versa
11
+ miraclemsg command " layout toggle tabbed splith splitv" # Cycle through the layouts in the list
12
+ ```
13
+
14
+ ## Links
15
+ - [ i3 documentation] ( https://i3wm.org/docs/userguide.html#manipulating_layout )
Original file line number Diff line number Diff line change 1
- # Programming
1
+ # Introduction
2
2
On top of being able to configure miracle with a configuration, miracle also
3
3
opens a socket that any client can listen on and send requessts to. This socket
4
4
is largely in line with [ i3's ipc support] ( https://i3wm.org/docs/ipc.html ) ,
5
5
with additional support for commands provided by [ sway's ipc]
6
6
(https://github.com/swaywm/sway/blob/master/sway/sway-ipc.7.scd ).
7
7
In the future, miracle will extend this communication channel for its own purposes.
8
8
9
- ## Supported Messages
9
+ ## Messages
10
10
The following provides the list of requests that are supported:
11
11
12
12
- ✅ ` RUN_COMMAND `
@@ -22,6 +22,9 @@ The following provides the list of requests that are supported:
22
22
- ❌ ` SYNC `
23
23
- ✅ ` GET_BINDING_STATE `
24
24
25
+ ## Commands
26
+ - [ Layout] ( ./commands/layout_command.md )
27
+
25
28
## Supported commands:
26
29
i3 and sway support a [ list of commands] ( https://i3wm.org/docs/userguide.html#list_of_commands ) .
27
30
Original file line number Diff line number Diff line change 36
36
- configuration/workspaces.md
37
37
- Programming :
38
38
- ipc/programming.md
39
+ - Commands :
40
+ - ipc/commands/layout_command.md
39
41
- Screen Sharing : screenshare.md
40
42
- Mir's Built-in Configuration : configuration/mir.md
41
43
- Display Configuration : configuration/display_configuration.md
You can’t perform that action at this time.
0 commit comments