Browse Source

Ignoring dropterm in ags overview

pull/237/head
Kiran George 2 years ago
parent
commit
c6378dfa61
  1. 2
      config/ags/modules/overview/overview_hyprland.js

2
config/ags/modules/overview/overview_hyprland.js

@ -52,7 +52,7 @@ export default () => {
const Window = ({ address, at: [x, y], size: [w, h], workspace: { id, name }, class: c, title, xwayland }, screenCoords) => { const Window = ({ address, at: [x, y], size: [w, h], workspace: { id, name }, class: c, title, xwayland }, screenCoords) => {
const revealInfoCondition = (Math.min(w, h) * userOptions.overview.scale > 70); const revealInfoCondition = (Math.min(w, h) * userOptions.overview.scale > 70);
if (w <= 0 || h <= 0 || (c === '' && title === '')) return null; if (w <= 0 || h <= 0 || (c === '' && title === '') || c.endsWith('-dropterm')) return null;
// Non-primary monitors // Non-primary monitors
if (screenCoords.x != 0) x -= screenCoords.x; if (screenCoords.x != 0) x -= screenCoords.x;
if (screenCoords.y != 0) y -= screenCoords.y; if (screenCoords.y != 0) y -= screenCoords.y;

Loading…
Cancel
Save