mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-16 13:59:58 -05:00
user config: add time format #307
This commit is contained in:
@@ -17,9 +17,9 @@ const TimeAndDate = () => Box({
|
||||
Label({
|
||||
className: 'bg-time-clock',
|
||||
xalign: 0,
|
||||
label: GLib.DateTime.new_now_local().format("%H:%M"),
|
||||
setup: (self) => self.poll(5000, label => {
|
||||
label.label = GLib.DateTime.new_now_local().format("%H:%M");
|
||||
label: GLib.DateTime.new_now_local().format(userOptions.time.format),
|
||||
setup: (self) => self.poll(userOptions.time.interval, label => {
|
||||
label.label = GLib.DateTime.new_now_local().format(userOptions.time.format);
|
||||
}),
|
||||
}),
|
||||
Label({
|
||||
|
||||
Reference in New Issue
Block a user