update dock

This commit is contained in:
casglistro
2024-04-18 02:20:38 +08:00
parent a663cd4cc3
commit dc24e39b91
4 changed files with 192 additions and 65 deletions
+5 -4
View File
@@ -1,11 +1,12 @@
import Widget from 'resource:///com/github/Aylur/ags/widget.js';
import Dock from './dock.js';
export default () => Widget.Window({
name: 'dock',
layer: 'bottom',
export default (monitor = 0) => Widget.Window({
monitor,
name: `dock${monitor}`,
layer: 'top',
anchor: ['bottom'],
exclusivity: 'normal',
visible: true,
child: Dock(),
child: Dock(monitor),
});