user/hyprlock: styling to match eww
This commit is contained in:
parent
e447adb0ce
commit
9ef4231da0
1 changed files with 43 additions and 10 deletions
|
|
@ -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 = "";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue