mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-22 20:55:59 +01:00
Add output name setting info (#674)
This commit is contained in:
parent
1ceb82e44f
commit
ba95f5aa60
1 changed files with 27 additions and 14 deletions
|
@ -96,27 +96,40 @@ hyprctl setcursor Bibata-Modern-Classic 24
|
||||||
|
|
||||||
Allows you to add and remove fake outputs to your preferred backend.
|
Allows you to add and remove fake outputs to your preferred backend.
|
||||||
|
|
||||||
params: `create` or `remove` and `backend` or `name` respectively.
|
Usage:
|
||||||
|
|
||||||
For _create_:
|
```sh
|
||||||
|
hyprctl output create [backend] (name)
|
||||||
|
```
|
||||||
|
or
|
||||||
|
```sh
|
||||||
|
hyprctl output remove [name]
|
||||||
|
```
|
||||||
|
|
||||||
pass a backend name: `wayland`, `x11`, `headless` or `auto`. On a _real_
|
Where `[backend]` is the name of the backend and `(name)` is an optional name for the output. If `(name)` is not
|
||||||
hyprland session, if you're looking for a VNC / RDP type thing, it's 99% going
|
specified, the default naming scheme will be used (`HEADLESS-2`, `WL-1`, etc.)
|
||||||
to be `headless`.
|
|
||||||
|
|
||||||
For _remove_:
|
{{< callout type=info >}}
|
||||||
|
|
||||||
pass the output's name, as found in `hyprctl monitors`. Please be aware you are
|
`create` and `remove` can also be `add` or `destroy`, respectively.
|
||||||
_not_ allowed to remove real displays with this command.
|
|
||||||
|
|
||||||
e.g.:
|
{{< /callout >}}
|
||||||
|
|
||||||
```ini
|
Available backends:
|
||||||
# will create a 1920x1080 headless display, for example to use with RDP.
|
- `wayland`: Creates an output as a Wayland window. This will only work if you're already running Hyprland with the Wayland backend.
|
||||||
hyprctl output create headless
|
- `headless`: Creates a headless monitor output. If you're running a VNC/RDP/Sunshine server, you should use this.
|
||||||
|
- `auto`: Picks a backend for you. For example, if you're running Hyprland from the TTY, `headless` will be chosen.
|
||||||
|
|
||||||
# will remove the above display, provided its name was HEADLESS-1
|
For example, to create a headless output named "test":
|
||||||
hyprctl output remove HEADLESS-1
|
|
||||||
|
```sh
|
||||||
|
hyprctl output create headless test
|
||||||
|
```
|
||||||
|
|
||||||
|
And to remove it:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
hyprctl output remove test
|
||||||
```
|
```
|
||||||
|
|
||||||
### switchxkblayout
|
### switchxkblayout
|
||||||
|
|
Loading…
Reference in a new issue