Move workspaces to Dispatchers, link page in Binds

This commit is contained in:
Mihai Fufezan 2022-09-24 21:04:35 +03:00
parent a23fd88810
commit 138a039ecc
No known key found for this signature in database
GPG key ID: 5899325F2F120900
4 changed files with 48 additions and 42 deletions

View file

@ -23,7 +23,9 @@ bind=,Print,exec,grim
```
{{< /hint >}}
*For a complete mod list, see [Variables](http://localhost:1313/Configuring/Variables/#variable-types).*
*For a complete mod list, see [Variables](https://wiki.hyprland.org/Configuring/Variables/#variable-types).*
*The dispatcher list can be found in [Dispatchers](https://wiki.hyprland.org/Configuring/Dispatchers).*
## Uncommon syms / binding with a keycode

View file

@ -1,3 +1,6 @@
# Table of contents
{{< toc >}}
Please keep in mind some layout-specific dispatchers will be listed in the
layout pages (See the sidebar).
@ -13,7 +16,7 @@ layout pages (See the sidebar).
| floatdelta | a float value delta, e.g `-0.2` or `+0.2`. |
| workspaceopt | see below. |
## Dispatchers:
# Dispatchers:
| Dispatcher | Description | Params |
| ---------- | ----------- | ------ |
@ -58,3 +61,43 @@ might cause undefined behavior. Instead, consider something like
bind = MOD,KEY,exec,sleep 1 && hyprctl dispatch dpms off
```
{{< /hint >}}
# Workspaces
You have seven choices:
- ID: e.g. `1`, `2`, or `3`
- Relative ID: e.g. `+1`, `-3` or `+100`
- Relative workspace on monitor: e.g. `m+1`, `m-1` or `m+3`
- Relative open workspace: e.g. `e+1` or `e-10`
- Name: e.g. `name:Web`, `name:Anime` or `name:Better anime`
- Previous workspace: `previous`
- Special Workspace: `special`
{{< hint type=warning >}}
`special` is supported ONLY on
`movetoworkspace`. Any other dispatcher will result in undocumented behavior.
{{< /hint >}}
## Special Workspace
Special workspace is what is called a "scratchpad" in some other places. A
workspace that you can toggle on/off on any monitor.
{{< hint >}}
You cannot have floating windows in the Special workspace. Making a window floating
will send it to the currently active *real* workspace.
{{< /hint >}}
## Workspace options
```
allfloat -> makes all new windows floating (also floats/unfloats windows on toggle)
allpseudo -> makes all new windows pseudo (also pseudos/unpseudos on toggle)
```

View file

@ -21,45 +21,6 @@ three_param_keyword=A,B, # OK
# Table of contents
{{< toc format=html >}}
# Workspaces
You have seven choices:
- ID: e.g. `1`, `2`, or `3`
- Relative ID: e.g. `+1`, `-3` or `+100`
- Relative workspace on monitor: e.g. `m+1`, `m-1` or `m+3`
- Relative open workspace: e.g. `e+1` or `e-10`
- Name: e.g. `name:Web`, `name:Anime` or `name:Better anime`
- Previous workspace: `previous`
- Special Workspace: `special`
{{< hint type=warning >}}
`special` is supported ONLY on
`movetoworkspace`. Any other dispatcher will result in undocumented behavior.
{{< /hint >}}
## Special Workspace
Special workspace is what is called a "scratchpad" in some other places. A
workspace that you can toggle on/off on any monitor.
{{< hint >}}
You cannot have floating windows in the Special workspace. Making a window floating
will send it to the currently active *real* workspace.
{{< /hint >}}
## Workspace options
```
allfloat -> makes all new windows floating (also floats/unfloats windows on toggle)
allpseudo -> makes all new windows pseudo (also pseudos/unpseudos on toggle)
```
# Executing
you can execute a shell script on startup of the compositor or on each time it's

View file

@ -59,7 +59,7 @@ Keep in mind you do *not* need to define all of them, but you need to define at
| center | if the window is floating, will center it on the monitor |
| pseudo | pseudotiles a window |
| monitor \[id\] | sets the monitor on which a window should open |
| workspace \[w\] | sets the workspace on which a window should open (for workspace syntax, see [binds->workspaces](../Keywords#workspaces)). You can also make \[w\] to `unset`, will unset all previous workspace rules applied to this window. You can also add `silent` after the workspace to make the window open silently. |
| workspace \[w\] | sets the workspace on which a window should open (for workspace syntax, see [dispatchers->workspaces](../Dispatchers#workspaces)). You can also make \[w\] to `unset`, will unset all previous workspace rules applied to this window. You can also add `silent` after the workspace to make the window open silently. |
| opacity \[a\] | additional opacity multiplier. Options for a: `float` -> sets an opacity OR `float float` -> sets activeopacity and inactiveopacity respectively |
| opaque | forces the window to be opaque (can be toggled with the toggleopaque dispatcher) |
| animation \[style\] (\[opt\]) | forces an animation onto a window, with a selected opt. Opt is optional. |