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";
|
waybar.systemd.target = "hyprland-session.target";
|
||||||
hyprlock =
|
hyprlock =
|
||||||
let
|
let
|
||||||
font = config.stylix.fonts.sansSerif.name;
|
|
||||||
scheme = config.lib.stylix.scheme;
|
scheme = config.lib.stylix.scheme;
|
||||||
accent = scheme.base0E;
|
accent = scheme.base0E;
|
||||||
in
|
in
|
||||||
|
@ -83,7 +82,7 @@
|
||||||
shape = [
|
shape = [
|
||||||
{
|
{
|
||||||
monitor = "";
|
monitor = "";
|
||||||
size = "550, 185";
|
size = "395, 185";
|
||||||
color = "0xff${scheme.base00}";
|
color = "0xff${scheme.base00}";
|
||||||
rounding = 10;
|
rounding = 10;
|
||||||
border_size = 2;
|
border_size = 2;
|
||||||
|
@ -93,7 +92,11 @@
|
||||||
valign = "top";
|
valign = "top";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
label = [
|
label =
|
||||||
|
let
|
||||||
|
font = config.stylix.fonts.monospace.name;
|
||||||
|
in
|
||||||
|
[
|
||||||
{
|
{
|
||||||
monitor = "";
|
monitor = "";
|
||||||
text = "cmd[update:30000] echo \"$(date +\"%R\")\"";
|
text = "cmd[update:30000] echo \"$(date +\"%R\")\"";
|
||||||
|
@ -106,11 +109,11 @@
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
monitor = "";
|
monitor = "";
|
||||||
text = "cmd[update:43200000] echo \"$(date +\"%A,%e %B %Y\")\"";
|
text = "cmd[update:43200000] echo \"$(date +\"%F\")\"";
|
||||||
color = "0xff${scheme.base05}";
|
color = "0xff${scheme.base05}";
|
||||||
font_size = 25;
|
font_size = 25;
|
||||||
font_family = font;
|
font_family = font;
|
||||||
position = "-30, -150";
|
position = "-40, -150";
|
||||||
halign = "right";
|
halign = "right";
|
||||||
valign = "top";
|
valign = "top";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue