mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-26 14:35:58 +01:00
wording & markdown styling
This commit is contained in:
parent
6b8e0d4b69
commit
a5b4e1c548
1 changed files with 8 additions and 6 deletions
|
@ -14,10 +14,10 @@ You can set window rules to achieve different behaviours from the active contain
|
||||||
windowrule=RULE,WINDOW
|
windowrule=RULE,WINDOW
|
||||||
```
|
```
|
||||||
|
|
||||||
- `RULE` is a rule (and a param if applicable)
|
+ `RULE` is a rule (and a param if applicable)
|
||||||
- `WINDOW` is a RegEx, either:
|
+ `WINDOW` is a RegEx, either:
|
||||||
- plain RegEx (for matching a window class);
|
+ plain RegEx (for matching a window class);
|
||||||
- `title:` followed by a regex (for matching a window's title)
|
+ `title:` followed by a regex (for matching a window's title)
|
||||||
|
|
||||||
#### Examples
|
#### Examples
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ Keep in mind that you *have* to declare at least one field, but not all.
|
||||||
|
|
||||||
{{< hint type=tip >}}
|
{{< hint type=tip >}}
|
||||||
|
|
||||||
To get informations about windows' class, title, if it uses XWayland or its size, you can use `hyprctl client`.
|
To get more information about a window's class, title, XWayland status or its size; you can use `hyprctl clients`.
|
||||||
|
|
||||||
{{< /hint >}}
|
{{< /hint >}}
|
||||||
|
|
||||||
|
@ -81,7 +81,7 @@ To get informations about windows' class, title, if it uses XWayland or its size
|
||||||
| pin | pins the window _note: floating only_ |
|
| pin | pins the window _note: floating only_ |
|
||||||
| noanim | disables the animations for the window |
|
| noanim | disables the animations for the window |
|
||||||
|
|
||||||
#### Examples
|
### Examples
|
||||||
|
|
||||||
```ini
|
```ini
|
||||||
windowrule = move 100 100,^(kitty)$
|
windowrule = move 100 100,^(kitty)$
|
||||||
|
@ -89,6 +89,8 @@ windowrule = animation popin,^(kitty)$
|
||||||
windowrule = noblur,^(firefox)$
|
windowrule = noblur,^(firefox)$
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Notes
|
||||||
|
|
||||||
{{< hint type=tip >}}
|
{{< hint type=tip >}}
|
||||||
|
|
||||||
Opacity is _always_ a PRODUCT of all opacities. E.g. active_opacity to
|
Opacity is _always_ a PRODUCT of all opacities. E.g. active_opacity to
|
||||||
|
|
Loading…
Reference in a new issue