1
1
Fork 0

custom: modify time format

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2025-03-11 07:12:35 -05:00
parent 3cc8448471
commit 2b4058eb97
Signed by: myned
GPG key ID: C7224454F7881A34
2 changed files with 3 additions and 3 deletions
options/custom/programs

View file

@ -217,7 +217,7 @@ in {
style = "bold #657b83";
# https://docs.rs/chrono/latest/chrono/format/strftime/index.html
time_format = "%a %b %-d %-I:%M%P";
time_format = "%a %b %-d %-I:%M %p";
};
# https://starship.rs/config/#username

View file

@ -231,7 +231,7 @@ in {
"clock#time" =
common
// {
format = "<span text_transform='lowercase'>{:%-I:%M%p}</span>";
format = "<span text_transform='lowercase'>{:%-I:%M %p}</span>";
on-click = "${swaync-client} --toggle-panel";
on-click-right = gnome-clocks;
};
@ -419,7 +419,7 @@ in {
"custom/time" =
common
// {
exec = "${date} '+%-I:%M%P'";
exec = "${date} '+%-I:%M %p'";
interval = 60; # Seconds
on-click = "${swaync-client} --toggle-panel";
on-click-right = gnome-clocks;