♻️ ags(control-center): stuff
This commit is contained in:
@@ -17,7 +17,7 @@ export const ControlCenter = (mon: number) => new Widget.Window({
|
|||||||
layer: Astal.Layer.OVERLAY,
|
layer: Astal.Layer.OVERLAY,
|
||||||
focusOnMap: true,
|
focusOnMap: true,
|
||||||
monitor: mon,
|
monitor: mon,
|
||||||
onDestroy: (_) => {
|
onDestroy: () => {
|
||||||
hidePages();
|
hidePages();
|
||||||
},
|
},
|
||||||
onButtonPressEvent: (_, event: Gdk.Event) => {
|
onButtonPressEvent: (_, event: Gdk.Event) => {
|
||||||
@@ -39,12 +39,9 @@ export const ControlCenter = (mon: number) => new Widget.Window({
|
|||||||
child: new Widget.Box({
|
child: new Widget.Box({
|
||||||
className: "popup",
|
className: "popup",
|
||||||
halign: Gtk.Align.END,
|
halign: Gtk.Align.END,
|
||||||
css: `.popup {
|
css: `margin-top: 10px;
|
||||||
margin-top: 10px;
|
margin-right: 10px;
|
||||||
margin-right: 10px;
|
margin-bottom: 10px;`,
|
||||||
margin-bottom: 10px;
|
|
||||||
}`,
|
|
||||||
vexpand: true,
|
|
||||||
widthRequest: 400,
|
widthRequest: 400,
|
||||||
onButtonPressEvent: () => true,
|
onButtonPressEvent: () => true,
|
||||||
orientation: Gtk.Orientation.VERTICAL,
|
orientation: Gtk.Orientation.VERTICAL,
|
||||||
|
|||||||
Reference in New Issue
Block a user