custom: modify time format
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
3cc8448471
commit
2b4058eb97
2 changed files with 3 additions and 3 deletions
options/custom/programs
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue