diff --git a/content/Hypr Ecosystem/hyprpaper.md b/content/Hypr Ecosystem/hyprpaper.md index 7290c419..9f9bc1dc 100644 --- a/content/Hypr Ecosystem/hyprpaper.md +++ b/content/Hypr Ecosystem/hyprpaper.md @@ -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") diff --git a/content/Useful Utilities/Other.md b/content/Useful Utilities/Other.md index 2fb67d31..b6175cef 100644 --- a/content/Useful Utilities/Other.md +++ b/content/Useful Utilities/Other.md @@ -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). diff --git a/content/Useful Utilities/Screen-Sharing.md b/content/Useful Utilities/Screen-Sharing.md index 2f9a14b1..facf0a52 100644 --- a/content/Useful Utilities/Screen-Sharing.md +++ b/content/Useful Utilities/Screen-Sharing.md @@ -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" +}) ``` diff --git a/content/Useful Utilities/Status-Bars.md b/content/Useful Utilities/Status-Bars.md index c5f0ee00..63f9b4c4 100644 --- a/content/Useful Utilities/Status-Bars.md +++ b/content/Useful Utilities/Status-Bars.md @@ -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. diff --git a/content/Useful Utilities/Systemd-start.md b/content/Useful Utilities/Systemd-start.md index b8c05d0b..b67bef9d 100644 --- a/content/Useful Utilities/Systemd-start.md +++ b/content/Useful Utilities/Systemd-start.md @@ -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