Added workspaces, window titles, volume, bluetooth, systray and date/time modules to the panel
This commit is contained in:
15
modules/bar/clock/index.js
Normal file
15
modules/bar/clock/index.js
Normal file
@@ -0,0 +1,15 @@
|
||||
const date = Variable("", {
|
||||
poll: [1000, 'date "+ %a %b%e %I:%M:%S %p"'],
|
||||
});
|
||||
|
||||
const Clock = () => {
|
||||
return {
|
||||
component: Widget.Label({
|
||||
class_name: "clock",
|
||||
label: date.bind(),
|
||||
}),
|
||||
isVisible: true,
|
||||
};
|
||||
};
|
||||
|
||||
export { Clock };
|
||||
Reference in New Issue
Block a user