From 99582a37a6283447340067ee1fb0791647149d4d Mon Sep 17 00:00:00 2001 From: MomerafaD Date: Thu, 30 Apr 2026 15:52:53 +0200 Subject: [PATCH] Other.md: Change lines for Hyprlang to Lua --- content/Useful Utilities/Other.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/content/Useful Utilities/Other.md b/content/Useful Utilities/Other.md index 2fb67d31..875a976a 100644 --- a/content/Useful Utilities/Other.md +++ b/content/Useful Utilities/Other.md @@ -51,7 +51,7 @@ for Hyprland's IPC written in Rust. ### Automatically Mounting Using `udiskie` -_Starting method:_ manual ('exec-once') +_Starting method:_ manual ('Autostart') USB mass storage devices, like thumb drives, mobile phones, digital cameras, etc. are not mounted automatically to the file system. @@ -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 line: ```ini -exec-once = udiskie +hl.on("hyprland.start", function () + hl.exec_cmd("udiskie") +end) ``` [See more uses here](https://github.com/coldfix/udiskie/wiki/Usage).