mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-22 12:45:59 +01:00
hyprlock: update text variables
This commit is contained in:
parent
38c05383aa
commit
03c3d8c125
1 changed files with 6 additions and 2 deletions
|
@ -74,7 +74,7 @@ Draws a label.
|
|||
```ini
|
||||
label {
|
||||
monitor =
|
||||
text = Hi there, $USER # Supported variables: $USER
|
||||
text = Hi there, $USER
|
||||
color = rgba(200, 200, 200, 1.0)
|
||||
font_size = 25
|
||||
font_family = Noto Sans
|
||||
|
@ -84,3 +84,7 @@ label {
|
|||
valign = center
|
||||
}
|
||||
```
|
||||
|
||||
Available variables for `text`:
|
||||
- `$USER` - username
|
||||
- `$TIME` - current time (e.g. `13:37`)
|
Loading…
Reference in a new issue