mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2026-05-09 00:58:11 +02:00
ya
This commit is contained in:
parent
11ba051ac6
commit
7a94c84986
5 changed files with 25 additions and 21 deletions
|
|
@ -74,7 +74,7 @@ wallpaper {
|
|||
|
||||
### Run at Startup
|
||||
|
||||
To run hypridle at startup, edit `hyprland.lua` and add:
|
||||
To run hyprpaper at startup, edit `hyprland.lua` and add:
|
||||
```lua
|
||||
hl.on("hyprland.start", function()
|
||||
hl.exec_cmd("hyprpaper")
|
||||
|
|
|
|||
|
|
@ -66,10 +66,12 @@ CDs or flash drives from userspace.
|
|||
Install `udiskie` via your package manager, or
|
||||
[build manually](https://github.com/coldfix/udiskie/wiki/installation)
|
||||
|
||||
Head over to your `hyprland.conf` and add the following line:
|
||||
Head over to your `hyprland.lua` and add the following lines:
|
||||
|
||||
```ini
|
||||
exec-once = udiskie
|
||||
```lua
|
||||
hl.on("hyprland.start", function()
|
||||
hl.exec_cmd("udiskie")
|
||||
end)
|
||||
```
|
||||
|
||||
[See more uses here](https://github.com/coldfix/udiskie/wiki/Usage).
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ installed, enabled and running if you don't have them yet.
|
|||
|
||||
Ensure that the `bitdepth` set in your configuration
|
||||
matches that of your physical monitor.
|
||||
See [Monitors](../../Configuring/Monitors).
|
||||
See [Monitors](../../Configuring/Basics/Monitors).
|
||||
|
||||
## Screensharing
|
||||
|
||||
|
|
@ -37,16 +37,16 @@ the same effect. See
|
|||
[this issue](https://invent.kde.org/system/xwaylandvideobridge/-/issues/1) for
|
||||
more information. For example:
|
||||
|
||||
```ini
|
||||
windowrule {
|
||||
name = xwayland-video-bridge-fixes
|
||||
match:class = xwaylandvideobridge
|
||||
```lua
|
||||
hl.window_rule({
|
||||
name = "xwayland-video-bridge-fixes",
|
||||
match = { class = "xwaylandvideobridge" },
|
||||
|
||||
no_initial_focus = true
|
||||
no_focus = true
|
||||
no_anim = true
|
||||
no_blur = true
|
||||
max_size = 1 1
|
||||
opacity = 0.0
|
||||
}
|
||||
no_initial_focus = true,
|
||||
no_focus = true,
|
||||
no_anim = true,
|
||||
no_blur = true,
|
||||
max_size = { 1, 1 },
|
||||
opacity = "0.0"
|
||||
})
|
||||
```
|
||||
|
|
|
|||
|
|
@ -27,13 +27,15 @@ For more info regarding configuration, see
|
|||
Type `waybar` into your terminal. In order to have Waybar launch alongside
|
||||
Hyprland, add this line to your Hyprland configuration:
|
||||
|
||||
```ini
|
||||
exec-once = waybar
|
||||
```lua
|
||||
hl.on("hyprland.start", function()
|
||||
hl.exec_cmd("waybar")
|
||||
end)
|
||||
```
|
||||
|
||||
Waybar also provides a systemd service. If you use Hyprland with [uwsm](../../Useful-Utilities/Systemd-start), you can enable it, using the following command.
|
||||
|
||||
```ini
|
||||
```sh
|
||||
systemctl --user enable --now waybar.service
|
||||
```
|
||||
|
||||
|
|
@ -308,7 +310,7 @@ and a [guided hello world](https://quickshell.outfoxxed.me/docs/configuration/in
|
|||
|
||||
### Blur
|
||||
|
||||
Use the `blur` and `ignore_alpha` [layer rules](https://wiki.hypr.land/Configuring/Window-Rules/#layer-rules).
|
||||
Use the `blur` and `ignore_alpha` [layer rules](../../Configuring/Basics/Window-Rules/#layer-rules).
|
||||
The former enables blur, and the latter makes it ignore insufficiently opaque regions.
|
||||
Ideally, the value used with `ignore_alpha` is higher than the shadow opacity and lower than the bar/menu content's opacity.
|
||||
Additionally, if it has transparent popups, you can use the `blur_popups` rule.
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ For more info, read the [option](https://search.nixos.org/options?channel=unstab
|
|||
## Launching Hyprland with uwsm
|
||||
|
||||
> [!NOTE]
|
||||
> Pay attention to the warnings in [Environment variables](../../Configuring/Environment-variables), [Multi-GPU](../../Configuring/Multi-GPU) and [Dispatchers](../../Configuring/Dispatchers) sections.
|
||||
> Pay attention to the warnings in [Environment variables](../../Configuring/Advanced-and-Cool/Environment-variables), [Multi-GPU](../../Configuring/Advanced-and-Cool/Multi-GPU) and [Dispatchers](../../Configuring/Basics/Dispatchers) sections.
|
||||
|
||||
### In tty
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue