mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2026-05-09 00:58:11 +02:00
Add: scrolling_width (#1412)
This commit is contained in:
parent
596fa011b4
commit
e45d41da4e
2 changed files with 13 additions and 0 deletions
|
|
@ -52,3 +52,15 @@ Example key bindings for your Hyprland config:
|
|||
bind = $mainMod, period, layoutmsg, move +col
|
||||
bind = $mainMod, comma, layoutmsg, swapcol l
|
||||
```
|
||||
|
||||
## Window rules
|
||||
|
||||
With the static rule scrolling_width you can set a starting column width for a window.
|
||||
|
||||
```
|
||||
windowrule {
|
||||
name = kitty_starting_width
|
||||
match:class = kitty
|
||||
scrolling_width = 0.5
|
||||
}
|
||||
```
|
||||
|
|
|
|||
|
|
@ -110,6 +110,7 @@ Static effects are evaluated once when the window is opened and never again. Thi
|
|||
| suppress_event | \[types...\] | Ignores specific events from the window. Events are space separated, and can be: `fullscreen`, `maximize`, `activate`, `activatefocus`, `fullscreenoutput`. |
|
||||
| content | \[none\|photo\|video\|game\] | Sets content type. |
|
||||
| no_close_for | \[ms\] | Makes the window uncloseable with the `killactive` dispatcher for a given amount of ms on open. |
|
||||
| scrolling_width | \[float\] | Set column width for window when starting on a workspace with the scrolling layout. |
|
||||
|
||||
#### Expressions
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue