hyprlock: update text variables

This commit is contained in:
Vaxry 2024-02-20 00:12:40 +00:00
parent 38c05383aa
commit 03c3d8c125

View file

@ -74,7 +74,7 @@ Draws a label.
```ini ```ini
label { label {
monitor = monitor =
text = Hi there, $USER # Supported variables: $USER text = Hi there, $USER
color = rgba(200, 200, 200, 1.0) color = rgba(200, 200, 200, 1.0)
font_size = 25 font_size = 25
font_family = Noto Sans font_family = Noto Sans
@ -83,4 +83,8 @@ label {
halign = center halign = center
valign = center valign = center
} }
``` ```
Available variables for `text`:
- `$USER` - username
- `$TIME` - current time (e.g. `13:37`)