mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-22 20:55:59 +01:00
Merge branch 'hyprwm:main' into main
This commit is contained in:
commit
e6a69806d2
7 changed files with 36 additions and 6 deletions
|
@ -42,13 +42,17 @@ global
|
|||
↳ windowsOut - window close
|
||||
↳ windowsMove - everything in between, moving, dragging, resizing.
|
||||
↳ layers - styles: slide, popin, fade
|
||||
↳ layersIn - layer open
|
||||
↳ layersOut - layer close
|
||||
↳ fade
|
||||
↳ fadeIn - fade in (open) -> layers and windows
|
||||
↳ fadeOut - fade out (close) -> layers and windows
|
||||
↳ fadeIn - fade in for window open
|
||||
↳ fadeOut - fade out for window close
|
||||
↳ fadeSwitch - fade on changing activewindow and its opacity
|
||||
↳ fadeShadow - fade on changing activewindow for shadows
|
||||
↳ fadeDim - the easing of the dimming of inactive windows
|
||||
↳ fadeLayers - for controlling fade on layers
|
||||
↳ fadeLayersIn - fade in for layer open
|
||||
↳ fadeLayersOut - fade out for layer close
|
||||
↳ border - for animating the border's color switch speed
|
||||
↳ borderangle - for animating the border's gradient angle - styles: once (default), loop
|
||||
↳ workspaces - styles: slide, slidevert, fade, slidefade, slidefadevert
|
||||
|
|
|
@ -361,7 +361,7 @@ _Subcategory `group:groupbar:`_
|
|||
| swallow_exception_regex | The *title* regex to be used for windows that should *not* be swallowed by the windows specified in swallow_regex (e.g. wev). The regex is matched against the parent (e.g. Kitty) window's title on the assumption that it changes to whatever process it's running. | str | \[\[Empty\]\] |
|
||||
| focus_on_activate | Whether Hyprland should focus an app that requests to be focused (an `activate` request) | bool | false |
|
||||
| no_direct_scanout | Disables direct scanout. Direct scanout attempts to reduce lag when there is only one fullscreen application on a screen (e.g. game). It is also recommended to set this to true if the fullscreen application shows graphical glitches. | bool | true |
|
||||
| hide_cursor_on_touch | Hides the cursor when the last input was a touch input until a mouse input is done. | bool | true |
|
||||
| hide_cursor_on_touch | Hides the cursor when the last input was a touch input until a mouse input is done. | bool | false |
|
||||
| hide_cursor_on_key_press | Hides the cursor when you press any key until the mouse is moved. | bool | true |
|
||||
| mouse_move_focuses_monitor | Whether mouse moving into a different monitor should focus it | bool | true |
|
||||
| suppress_portal_warnings | disables warnings about incompatible portal implementations. | bool | false |
|
||||
|
|
|
@ -32,7 +32,7 @@ _[wiki page](../Crashes-and-Bugs)_
|
|||
|
||||
### Me cursor no render?
|
||||
|
||||
Are you on NVIDIA? If so, then you have been a naughty boy and haven't listened
|
||||
Are you on NVIDIA? If so, then you have been naughty and haven't listened
|
||||
to my tips on other pages. Use the `WLR_NO_HARDWARE_CURSORS=1` environment
|
||||
variable.
|
||||
|
||||
|
|
|
@ -32,6 +32,7 @@ To run hyprpaper at startup edit `hyprland.conf` and add:
|
|||
| --- | --- | --- | --- |
|
||||
| splash | enable rendering of the hyprland splash over the wallpaper | bool | false |
|
||||
| splash_offset | how far (in % of height) up should the splash be displayed | float | 2.0 |
|
||||
| splash_color | color to use when rendering splash | color | 55ffffff |
|
||||
| ipc | whether to enable IPC | bool | true |
|
||||
|
||||
## IPC
|
||||
|
|
|
@ -195,3 +195,24 @@ gtk = {
|
|||
};
|
||||
};
|
||||
```
|
||||
|
||||
## Programs don't work in systemd services, but do on the terminal
|
||||
|
||||
This problem is related to Systemd not importing the environment by default. It
|
||||
will not have knowledge of `PATH`, so it cannot run the commands in the
|
||||
services. This is the most common with user-configured services such as
|
||||
`hypridle` or `swayidle`.
|
||||
|
||||
To fix it, add to your config:
|
||||
|
||||
```nix
|
||||
wayland.windowManager.hyprland.systemd.variables = ["--all"];
|
||||
```
|
||||
|
||||
This setting will produce the following entry in the Hyprland config:
|
||||
|
||||
```ini
|
||||
exec-once = dbus-update-activation-environment --systemd --all
|
||||
```
|
||||
|
||||
Make sure to use the above command if you do not use the Home Manager module.
|
||||
|
|
|
@ -18,9 +18,9 @@ M: means std::unordered_map<std::string, std::any> following props are members.
|
|||
| tick | fired on a tick, meaning once per (1000 / highestMonitorHz) ms | nullptr | ✕ |
|
||||
| activeWindow | fired on active window change | CWindow* | ✕ |
|
||||
| keyboardFocus | fired on keyboard focus change. Contains the newly focused surface | wlr_surface* | ✕ |
|
||||
| moveWorkspace | fired when a workspace changes its monitor | std::vector<void*>{CWorkspace*, CMonitor*} | ✕ |
|
||||
| moveWorkspace | fired when a workspace changes its monitor | std::vector<std::any>{CWorkspace*, PHLWORKSPACE} | ✕ |
|
||||
| focusedMon | fired on monitor focus change | CMonitor* | ✕ |
|
||||
| moveWindow | fired when a window changes workspace | std::vector<void*>{CWindow*, CWorkspace*} | ✕ |
|
||||
| moveWindow | fired when a window changes workspace | std::vector<std::any>{CWindow*, PHLWORKSPACE} | ✕ |
|
||||
| openLayer | fired when a LS is mapped | CLayerSurface* | ✕ |
|
||||
| closeLayer | fired when a LS is unmapped | CLayerSurface* | ✕ |
|
||||
| openWindow | fired when a window is mapped | CWindow* | ✕ |
|
||||
|
@ -50,3 +50,6 @@ M: means std::unordered_map<std::string, std::any> following props are members.
|
|||
| preConfigReload | emitted before a config reload | nullptr | ✕ |
|
||||
| keyPress | emitted on a key press | M: `event`:`wlr_keyboard_key_event*`, `keyboard`:`SKeyboard*` | ✔ |
|
||||
| pin | emitted when a window is pinned or unpinned | CWindow* | ✕ |
|
||||
| swipeBegin | emitted when a touchpad swipe is commenced | `wlr_pointer_swipe_begin_event*` | ✔ |
|
||||
| swipeUpdate | emitted when a touchpad swipe is updated | `wlr_pointer_swipe_update_event*` | ✔ |
|
||||
| swipeEnd | emitted when a touchpad swipe is ended | `wlr_pointer_swipe_end_event*` | ✔ |
|
||||
|
|
|
@ -6,6 +6,7 @@ weight: 1
|
|||
Select your preferred wiki version below:
|
||||
|
||||
- [Latest Git](https://wiki.hyprland.org/)
|
||||
- [v0.38.0](https://wiki.hyprland.org/0.38.0/)
|
||||
- [v0.37.0](https://wiki.hyprland.org/0.37.0/)
|
||||
- [v0.36.0](https://wiki.hyprland.org/0.36.0/)
|
||||
- [v0.35.0](https://wiki.hyprland.org/0.35.0/)
|
||||
|
|
Loading…
Reference in a new issue