user/hyprlock: styling to match eww

This commit is contained in:
LavaDesu 2025-03-18 19:41:03 +11:00
parent e447adb0ce
commit 9ef4231da0
Signed by: cilly
GPG key ID: 6500251E087653C9

View file

@ -16,6 +16,28 @@
monitor = ""; monitor = "";
color = "$base"; color = "$base";
}; };
shape = [
# Battery pill
{
monitor = "";
size = "165, 65";
color = "$crust";
rounding = -1;
halign = "right";
valign = "top";
position = "-595,-10";
}
# Time pill
{
monitor = "";
size = "545, 65";
color = "$crust";
rounding = -1;
halign = "right";
valign = "top";
position = "-40,-10";
}
];
label = [ label = [
# Fingerprint icon # Fingerprint icon
{ {
@ -50,28 +72,39 @@
halign = "center"; halign = "center";
valign = "center"; valign = "center";
} }
# Time # Battery icon
{ {
monitor = ""; monitor = "";
text = "$TIME"; text = "";
color = "$text"; color = "$accent";
font_size = 90; font_family = "Material Symbols Outlined";
font_family = "Open Sans"; font_size = 27;
position = "-50, 0"; position = "-695, -20";
halign = "right"; halign = "right";
valign = "top"; valign = "top";
} }
# Date # Battery percentage
{ {
monitor = ""; monitor = "";
text = "cmd[update:43200000] date +'%A, %d %B %Y'"; text = ''cmd[update:60000] echo "<span weight='700'>$(cat /sys/class/power_supply/BATT/capacity)%</span>"'';
color = "$text"; color = "$text";
font_size = 25; font_size = 23;
font_family = "Open Sans"; font_family = "Open Sans";
position = "-50, -150"; position = "-625, -20";
halign = "right"; halign = "right";
valign = "top"; valign = "top";
} }
# Time and Date
{
monitor = "";
color = "$text";
font_family = "Open Sans";
font_size = 23;
halign = "right";
valign = "top";
position = "-70, -20";
text = ''cmd[update:1000] echo "<span alpha='70%' weight='550'>$(date '+%A, %d %B %Y')</span> <span weight='700'>$(date +%H:%M)</span><span alpha='70%' weight='550'>$(date +:%S)</span>"'';
}
]; ];
input-field = { input-field = {
monitor = ""; monitor = "";