fix(ags): set correct position for special ws

This commit is contained in:
matt1432 2023-09-19 23:35:25 -04:00
parent 0075d58b25
commit f7efd5ee7a

View file

@ -69,11 +69,15 @@ export const Overview = Window({
let active = ''; let active = '';
if (app.address == Hyprland.active.client.address) { if (app.address == Hyprland.active.client.address) {
active = 'active'; active = 'active';
print(app.at[0])
print(app.at[1])
} }
if (app.size[0] === 0) { if (app.size[0] === 0) {
app.size[0] = 1524; app.size[0] = 1524;
app.size[1] = 908; app.size[1] = 908;
app.at[0] = 197;
app.at[1] = 170;
} }
fixed.put( fixed.put(
@ -108,6 +112,7 @@ export const Overview = Window({
childI = 1; childI = 1;
} }
// TODO: make this a revealer so no awkward jump
box.children[childI].centerWidget.add( box.children[childI].centerWidget.add(
Box({ Box({
properties: [['id', ws.id]], properties: [['id', ws.id]],