This commit is contained in:
MomerafaD 2026-05-03 23:16:10 +05:00 committed by GitHub
commit 5e80d0b63a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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