bar: fix multimonitor (?)

This commit is contained in:
end-4
2024-04-03 17:09:56 +07:00
parent c415fd18ad
commit 21cdcba7c1
4 changed files with 64 additions and 62 deletions
+5 -6
View File
@@ -56,6 +56,8 @@ const Windows = () => [
forMonitors((id) => Corner(id, 'top right')),
forMonitors((id) => Corner(id, 'bottom left')),
forMonitors((id) => Corner(id, 'bottom right')),
forMonitors(BarCornerTopleft),
forMonitors(BarCornerTopright),
];
const CLOSE_ANIM_TIME = 210; // Longer than actual anim time to make sure widgets animate fully
App.config({
@@ -70,9 +72,6 @@ App.config({
});
// Stuff that don't need to be toggled. And they're async so ugh...
Bar().catch(print); // Use this to debug the bar. Single monitor only.
// BarCornerTopleft().catch(print); // Use this to debug the bar. Single monitor only.
// BarCornerTopright().catch(print); // Use this to debug the bar. Single monitor only.
// forMonitors(Bar);
forMonitors(BarCornerTopleft);
forMonitors(BarCornerTopright);
forMonitors(Bar);
// Bar().catch(print); // Use this to debug the bar. Single monitor only.