diff --git a/pages/Hypr Ecosystem/hyprlock.md b/pages/Hypr Ecosystem/hyprlock.md index 26a86be..ba9f9b3 100644 --- a/pages/Hypr Ecosystem/hyprlock.md +++ b/pages/Hypr Ecosystem/hyprlock.md @@ -95,3 +95,13 @@ label { Available variables for `text`: - `$USER` - username - `$TIME` - current time (e.g. `13:37`) + +`text` also supports launching commands, for example: +```ini +text = cmd[update:1000] echo "$(date)" +``` +Worth noting: + - `update:` - time is in ms. + - Variables seen above are parsed _before_ the command is ran. + +