hyprlock: update text variables

This commit is contained in:
Vaxry 2024-02-20 00:12:40 +00:00
parent 38c05383aa
commit 03c3d8c125
1 changed files with 6 additions and 2 deletions

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
@ -84,3 +84,7 @@ label {
valign = center valign = center
} }
``` ```
Available variables for `text`:
- `$USER` - username
- `$TIME` - current time (e.g. `13:37`)