dotfiles/homes/modules/ags/config.js

27 lines
568 B
JavaScript
Raw Normal View History

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