feat: add world clock module (#795)
Co-authored-by: Louis Dalibard <ontake@ontake.dev> Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
This commit is contained in:
@@ -435,6 +435,15 @@ const options = mkOptions({
|
||||
icon_background: opt(colors.base2),
|
||||
spacing: opt('0.5em'),
|
||||
},
|
||||
worldclock: {
|
||||
enableBorder: opt(false),
|
||||
border: opt(colors.yellow),
|
||||
background: opt(colors.base2),
|
||||
text: opt(colors.yellow),
|
||||
icon: opt(colors.yellow),
|
||||
icon_background: opt(colors.base2),
|
||||
spacing: opt('0.5em'),
|
||||
},
|
||||
},
|
||||
},
|
||||
menus: {
|
||||
@@ -1235,6 +1244,18 @@ const options = mkOptions({
|
||||
scrollUp: opt(''),
|
||||
scrollDown: opt(''),
|
||||
},
|
||||
worldclock: {
|
||||
icon: opt(''),
|
||||
showIcon: opt(true),
|
||||
showTime: opt(true),
|
||||
format: opt('%I:%M:%S %p %Z'),
|
||||
formatDiffDate: opt('%a %b %d %I:%M:%S %p %Z'),
|
||||
rightClick: opt(''),
|
||||
middleClick: opt(''),
|
||||
scrollUp: opt(''),
|
||||
scrollDown: opt(''),
|
||||
tz: opt(['America/New_York', 'Europe/Paris', 'Asia/Tokyo']),
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user