From e66b55c36e117adf4b3e31d2c621dc6e451bb8bb Mon Sep 17 00:00:00 2001 From: Tassilo Horn Date: Sat, 11 Dec 2021 09:25:40 +0100 Subject: [PATCH] Update README.md with the new stuff of the next branch --- README.md | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index aff274d..01b2599 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ Right now, there are these subcommands: last-recently-used, focused last and focuses the selected. * `switch-workspace` displays all workspaces in LRU order and switches to the selected one. +* `switch-output` shows all outputs in the menu and focuses the selected one. * `switch-workspace-or-window` displays all workspaces and their windows and switches to the selected workspace or window. * `switch-workspace-container-or-window` shows workspaces, containers, and @@ -34,8 +35,8 @@ Right now, there are these subcommands: the form `#w:` where the hash and `w:` shortcut are optional can be used to move it to a new workspace. * `move-focused-to` moves the currently focused container or window to the - selected workspace, container, or window. Non-matching input is handled like - with `move-focused-to-workspace`. + selected output, workspace, container, window. Non-matching input is handled + like with `move-focused-to-workspace`. * `swap-focused-with` swaps the currently focused window or container with the one selected from the menu program. * `next-window (all-workspaces|current-workspace)` & `prev-window @@ -80,6 +81,8 @@ Right now, there are these subcommands: between a tabbed and tiled layout, i.e., it calls `shuffle-tile-workspace` if it is currently tabbed, and calls `shuffle-tile-workspace` if it is currently tiled. +* `configure-outputs` lets you repeatedly issue output configuration commands + until you abort the menu program. * `execute-swaymsg-command` displays most swaymsg which don't require additional input and executes the selected one. That's handy especially for less often used commands not bound to a key. Non-matching input will be @@ -233,9 +236,10 @@ args = [ ] [format] -window_format = 'img:{app_icon}:text:{indent}{app_name} — {urgency_start}“{title}”{urgency_end} on workspace {workspace_name} {marks} ({id})' +output_format = '{indent}Output {name} ({id})' workspace_format = '{indent}Workspace {name} [{layout}] ({id})' container_format = '{indent}Container [{layout}] on workspace {workspace_name} {marks} ({id})' +window_format = 'img:{app_icon}:text:{indent}{app_name} — {urgency_start}“{title}”{urgency_end} on workspace {workspace_name} {marks} ({id})' indent = ' ' urgency_start = '' urgency_end = '' @@ -280,13 +284,14 @@ choices are to be layed out. `wofi` supports [pango markup](https://docs.gtk.org/Pango/pango_markup.html) which makes it possible to style the text using HTML and CSS. The following formats are supported right now. -* `workspace_format` defines how workspaces are displayed, `container_format` - defines how non-workspace containers are displayed, and `window_format` - defines how application windows are displayed. +* `output_format` defines how outputs (monitors) are displayed in the menu + program, `workspace_format` defines how workspaces are displayed, + `container_format` defines how non-workspace containers are displayed, and + `window_format` defines how application windows are displayed. * In these formats, the following placeholders can be used: - * `{name}` gets replaced by the workspace number, or name or a window's - title. The placeholder `{title}` is an obsolete synonym which will be - removed in a later version. + * `{name}` gets replaced by the output name, the workspace number or name or + a window's title. The placeholder `{title}` is an obsolete synonym which + will be removed in a later version. * `{layout}` shows the workspace or container's layout. * `{id}` gets replaced by the sway-internal con id. * `{indent}` gets replaced with N times the new `format.indent` value where N