mirror of
https://github.com/xsghetti/HyprCrux.git
synced 2025-07-03 22:00:38 -04:00
updates
This commit is contained in:
parent
1f8cb3c145
commit
610604e80f
253 changed files with 27055 additions and 44 deletions
31
.config/ags/old/modules/dock/Dock.js
Normal file
31
.config/ags/old/modules/dock/Dock.js
Normal file
|
@ -0,0 +1,31 @@
|
|||
// import Gtk from 'gi://Gtk';
|
||||
|
||||
/** @param {string} windowName */
|
||||
const Padding = windowName => Widget.EventBox({
|
||||
class_name: 'padding',
|
||||
hexpand: true,
|
||||
vexpand: true,
|
||||
setup: w => w.on('button-press-event', () => App.toggleWindow(windowName)),
|
||||
});
|
||||
|
||||
const Dock = () => {
|
||||
return Widget.Box({
|
||||
name: 'dock-box',
|
||||
child: Widget.Label({
|
||||
label: "Yo Yo YO YO bfbhgjhdfvbfb",
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export default () => Widget.Window({
|
||||
name: 'dock',
|
||||
anchor: ['bottom'],
|
||||
exclusivity: 'normal',
|
||||
keymode: 'on-demand',
|
||||
layer: 'background',
|
||||
// popup: true,
|
||||
// monitor: 0,
|
||||
visible: true,
|
||||
child: Dock(),
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue