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).