allow hiding fake screen rounding when fullscreen (#579)

This commit is contained in:
end-4
2024-06-04 16:09:14 +07:00
parent 5c78446c3c
commit d3bbeaaff2
3 changed files with 27 additions and 5 deletions
+4 -3
View File
@@ -50,12 +50,12 @@ const Windows = () => [
forMonitors(Osk),
forMonitors(Session),
...(userOptions.dock.enabled ? [forMonitors(Dock)] : []),
...(userOptions.appearance.fakeScreenRounding ? [
...(userOptions.appearance.fakeScreenRounding !== 0 ? [
forMonitors((id) => Corner(id, 'top left', true)),
forMonitors((id) => Corner(id, 'top right', true)),
] : []),
forMonitors((id) => Corner(id, 'bottom left', userOptions.appearance.fakeScreenRounding)),
forMonitors((id) => Corner(id, 'bottom right', userOptions.appearance.fakeScreenRounding)),
forMonitors((id) => Corner(id, 'bottom left', userOptions.appearance.fakeScreenRounding !== 0)),
forMonitors((id) => Corner(id, 'bottom right', userOptions.appearance.fakeScreenRounding !== 0)),
forMonitors(BarCornerTopleft),
forMonitors(BarCornerTopright),
];
@@ -76,3 +76,4 @@ App.config({
// Stuff that don't need to be toggled. And they're async so ugh...
forMonitorsAsync(Bar);
// Bar().catch(print); // Use this to debug the bar. Single monitor only.