mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-08-17 14:51:04 +02:00
refactor(clock): move justify above common
This commit is contained in:
parent
27c14d2da8
commit
59b5ddcc69
1 changed files with 4 additions and 4 deletions
|
@ -58,10 +58,6 @@ pub struct ClockModule {
|
|||
#[serde(default)]
|
||||
orientation: ModuleOrientation,
|
||||
|
||||
/// See [common options](module-level-options#common-options).
|
||||
#[serde(flatten)]
|
||||
pub common: Option<CommonConfig>,
|
||||
|
||||
/// The justification (alignment) of the date/time shown on the bar.
|
||||
///
|
||||
/// **Valid options**: `left`, `right`, `center`, `fill`
|
||||
|
@ -69,6 +65,10 @@ pub struct ClockModule {
|
|||
/// **Default**: `left`
|
||||
#[serde(default)]
|
||||
justify: ModuleJustification,
|
||||
|
||||
/// See [common options](module-level-options#common-options).
|
||||
#[serde(flatten)]
|
||||
pub common: Option<CommonConfig>,
|
||||
}
|
||||
|
||||
impl Default for ClockModule {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue