feat(waybar): add clock module

This commit is contained in:
Mohammad Rafiq 2025-06-01 19:42:12 +08:00
parent 9c947d7992
commit d5dc280ff2
No known key found for this signature in database

View file

@ -13,7 +13,14 @@
settings = [
{
layer = "top";
modules-right = [ "clock" ];
modules-right = [
"battery"
"clock"
];
"clock" = {
interval = 1;
format = "{:%F %T}";
};
}
];
style = # css
@ -21,6 +28,12 @@
window#waybar {
background-color: rgba(0, 0, 0, 0);
}
#clock {
padding-top: 5px;
padding-right: 5px;
color: #ffffff;
}
'';
};
})