dotfiles/homes/modules/ags/config.js

26 lines
568 B
JavaScript
Executable file

import { AppLauncher } from "./widgets/applauncher.js"
import { Notifications } from "./widgets/notifications.js"
const date = Variable('', {
poll: [1000, 'date'],
})
const Bar = (monitor = 0) => Widget.Window({
monitor,
name: 'bar${monitor}',
anchor: ['top', 'left', 'right'],
child: Widget.Label({ label: date.bind() }),
})
App.config({
style: "./style.css",
// icons: "./assets",
windows: [
Bar(),
AppLauncher,
Notifications()
]
// gtkTheme: "Adwaita-dark",
// cursorTheme: "Qogir",
// iconTheme: "MoreWaita",[]
})