forked from Shinonome/dots-hyprland
Update overview.js
This commit is contained in:
@@ -307,10 +307,10 @@ const OverviewRow = ({ startWorkspace, workspaces, windowName = 'overview' }) =>
|
|||||||
}]],
|
}]],
|
||||||
setup: (box) => {
|
setup: (box) => {
|
||||||
box
|
box
|
||||||
.hook(Hyprland, (box, name, data) => {
|
// .hook(Hyprland, (box, name, data) => { // idk, does this make it lag occasionally?
|
||||||
if (["changefloatingmode", "movewindow"].includes(name))
|
// if (["changefloatingmode", "movewindow"].includes(name))
|
||||||
box._update(box);
|
// box._update(box);
|
||||||
}, 'event')
|
// }, 'event')
|
||||||
.hook(Hyprland, (box) => box._update(box), 'client-added')
|
.hook(Hyprland, (box) => box._update(box), 'client-added')
|
||||||
.hook(Hyprland, (box) => box._update(box), 'client-removed')
|
.hook(Hyprland, (box) => box._update(box), 'client-removed')
|
||||||
.hook(App, (box, name, visible) => { // Update on open
|
.hook(App, (box, name, visible) => { // Update on open
|
||||||
|
|||||||
Reference in New Issue
Block a user