From f6f87b6334a42fb6034b7cc13c297429d6bd9259 Mon Sep 17 00:00:00 2001 From: bvr-yr <130279855+bvr-yr@users.noreply.github.com> Date: Thu, 21 Mar 2024 18:42:59 +0300 Subject: [PATCH] hyprlock: add `$LAYOUT` for labels (#548) --- pages/Hypr Ecosystem/hyprlock.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pages/Hypr Ecosystem/hyprlock.md b/pages/Hypr Ecosystem/hyprlock.md index 3ddd8fb..29073da 100644 --- a/pages/Hypr Ecosystem/hyprlock.md +++ b/pages/Hypr Ecosystem/hyprlock.md @@ -188,6 +188,7 @@ Available variables for `text`: - `$TIME` - current time (e.g. `13:37`) - `$FAIL` - last pam fail reason - `$ATTEMPTS` - failed attempts + - `$LAYOUT` - current keyboard layout `text` also supports launching commands, for example: @@ -197,9 +198,10 @@ text = cmd[update:1000] echo "$(date)" Worth noting: - `update:` - time is in ms. - - label can be forcefully updated by specifying `update: