Sat 6 Jul 14:52:01 CEST 2024

This commit is contained in:
Thomas Avé 2024-07-06 14:52:01 +02:00
parent b4f089f2ad
commit 63cec4ff99
3 changed files with 60 additions and 56 deletions

View File

@ -211,10 +211,13 @@ function Right() {
.split(/\s+/)[1].replace("+", "")], .split(/\s+/)[1].replace("+", "")],
}).bind(), }).bind(),
}), }),
Widget.Label({ Widget.Button({
class_name: "item", class_name: "item",
child: Widget.Label({
label: Variable("", { poll: [1000, 'date "+%Y-%m-%d"'] }).bind(), label: Variable("", { poll: [1000, 'date "+%Y-%m-%d"'] }).bind(),
}), }),
on_clicked: () => Utils.execAsync(['gnome-calendar']),
}),
Widget.Label({ Widget.Label({
class_name: "item blue", class_name: "item blue",
label: Variable("", { poll: [1000, 'date "+%H:%M:%S"'] }).bind(), label: Variable("", { poll: [1000, 'date "+%H:%M:%S"'] }).bind(),
@ -244,7 +247,7 @@ App.config({
style: "./style.css", style: "./style.css",
iconTheme: "Papirus", iconTheme: "Papirus",
windows: [ windows: [
Bar(1), Bar(0),
NotificationPopups(), NotificationPopups(),
], ],
}) })

View File

@ -24,6 +24,7 @@
gimp gimp
obs-studio obs-studio
inkscape inkscape
gnome-calendar
zip zip
]; ];