forked from Shinonome/dots-hyprland
update dock
This commit is contained in:
@@ -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),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user