forked from Shinonome/dots-hyprland
fix null not window error; don't add nulls when ternaries are wrong
This commit is contained in:
@@ -46,6 +46,7 @@ applyStyle().catch(print);
|
||||
|
||||
const Windows = () => [
|
||||
// forMonitors(DesktopBackground),
|
||||
|
||||
Overview(),
|
||||
forMonitors(Indicator),
|
||||
forMonitors(Cheatsheet),
|
||||
@@ -53,7 +54,7 @@ const Windows = () => [
|
||||
SideRight(),
|
||||
forMonitors(Osk),
|
||||
forMonitors(Session),
|
||||
userOptions.dock.enabled ? forMonitors(Dock) : null,
|
||||
...(userOptions.dock.enabled ? [forMonitors(Dock)] : []),
|
||||
...(userOptions.appearance.fakeScreenRounding ? [
|
||||
forMonitors((id) => Corner(id, 'top left', true)),
|
||||
forMonitors((id) => Corner(id, 'top right', true)),
|
||||
|
||||
Reference in New Issue
Block a user