Change hyprlock date to use ISO 8601 format
This commit is contained in:
parent
90e9ae3e38
commit
5aa7640337
|
@ -59,7 +59,6 @@
|
|||
waybar.systemd.target = "hyprland-session.target";
|
||||
hyprlock =
|
||||
let
|
||||
font = config.stylix.fonts.sansSerif.name;
|
||||
scheme = config.lib.stylix.scheme;
|
||||
accent = scheme.base0E;
|
||||
in
|
||||
|
@ -83,7 +82,7 @@
|
|||
shape = [
|
||||
{
|
||||
monitor = "";
|
||||
size = "550, 185";
|
||||
size = "395, 185";
|
||||
color = "0xff${scheme.base00}";
|
||||
rounding = 10;
|
||||
border_size = 2;
|
||||
|
@ -93,28 +92,32 @@
|
|||
valign = "top";
|
||||
}
|
||||
];
|
||||
label = [
|
||||
{
|
||||
monitor = "";
|
||||
text = "cmd[update:30000] echo \"$(date +\"%R\")\"";
|
||||
color = "0xff${scheme.base05}";
|
||||
font_size = 90;
|
||||
font_family = font;
|
||||
position = "-30, 0";
|
||||
halign = "right";
|
||||
valign = "top";
|
||||
}
|
||||
{
|
||||
monitor = "";
|
||||
text = "cmd[update:43200000] echo \"$(date +\"%A,%e %B %Y\")\"";
|
||||
color = "0xff${scheme.base05}";
|
||||
font_size = 25;
|
||||
font_family = font;
|
||||
position = "-30, -150";
|
||||
halign = "right";
|
||||
valign = "top";
|
||||
}
|
||||
];
|
||||
label =
|
||||
let
|
||||
font = config.stylix.fonts.monospace.name;
|
||||
in
|
||||
[
|
||||
{
|
||||
monitor = "";
|
||||
text = "cmd[update:30000] echo \"$(date +\"%R\")\"";
|
||||
color = "0xff${scheme.base05}";
|
||||
font_size = 90;
|
||||
font_family = font;
|
||||
position = "-30, 0";
|
||||
halign = "right";
|
||||
valign = "top";
|
||||
}
|
||||
{
|
||||
monitor = "";
|
||||
text = "cmd[update:43200000] echo \"$(date +\"%F\")\"";
|
||||
color = "0xff${scheme.base05}";
|
||||
font_size = 25;
|
||||
font_family = font;
|
||||
position = "-40, -150";
|
||||
halign = "right";
|
||||
valign = "top";
|
||||
}
|
||||
];
|
||||
image = [
|
||||
{
|
||||
monitor = "";
|
||||
|
|
Loading…
Reference in a new issue