mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-24 12:22:09 +00:00
27 lines
No EOL
799 B
JavaScript
27 lines
No EOL
799 B
JavaScript
const { Gdk, Gtk } = imports.gi;
|
|
import { App, Service, Utils, Widget } from '../../imports.js';
|
|
const { execAsync, exec } = Utils;
|
|
|
|
import TimeAndLaunchesWidget from './timeandlaunches.js'
|
|
import SystemWidget from './system.js'
|
|
import GraphWidget from './graph.js'
|
|
|
|
export default () => Widget.Window({
|
|
name: 'desktopbackground',
|
|
anchor: ['top', 'bottom', 'left', 'right'],
|
|
layer: 'background',
|
|
exclusivity: 'normal',
|
|
visible: true,
|
|
child: Widget.Overlay({
|
|
child: Widget.Box({
|
|
hexpand: true,
|
|
vexpand: true,
|
|
}),
|
|
overlays: [
|
|
// GraphWidget(),
|
|
TimeAndLaunchesWidget(),
|
|
SystemWidget(),
|
|
],
|
|
setup: (self) => self.set_overlay_pass_through(self.get_children()[1], true),
|
|
}),
|
|
}); |