From 45e08b2358c94bf9905b97615692aafe5a766e3d Mon Sep 17 00:00:00 2001 From: Seymur Bagirov Date: Thu, 22 Feb 2024 16:03:23 +0400 Subject: [PATCH] feat: add date and time to hyprlock --- hypr/hyprlock.conf | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/hypr/hyprlock.conf b/hypr/hyprlock.conf index 925ff01..7a98b15 100644 --- a/hypr/hyprlock.conf +++ b/hypr/hyprlock.conf @@ -33,7 +33,7 @@ input-field { label { monitor = text = Hi there, $USER - color = rgba(200, 200, 200, 1.0) + color = rgba(20, 19, 21, 1) font_size = 25 font_family = Noto Sans @@ -42,3 +42,28 @@ label { valign = center } +label { + monitor = + text = $TIME + color = rgba(20, 19, 21, 1) + font_size = 50 + font_family = Noto Sans + + position = 0, 300 + halign = center + valign = center +} + +label { + monitor = + text = cmd[update:1000] echo "$(date +"%A, %d %B")" + color = rgba(20, 19, 21, 1) + font_size = 40 + font_family = Noto Sans + + position = 0, 350 + halign = center + valign = center +} + +