mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-06 07:19:27 -05:00
remove unecessary array spread; rename hidden dock thickness option
This commit is contained in:
@@ -54,7 +54,7 @@ const Windows = () => [
|
||||
SideRight(),
|
||||
forMonitors(Osk),
|
||||
Session(),
|
||||
...(userOptions.dock.enabled ? [forMonitors(Dock)] : []),
|
||||
userOptions.dock.enabled ? forMonitors(Dock) : null,
|
||||
// forMonitors(Bar),
|
||||
...(userOptions.appearance.fakeScreenRounding ? [
|
||||
forMonitors((id) => Corner(id, 'top left', true)),
|
||||
|
||||
@@ -78,8 +78,7 @@ let configOptions = {
|
||||
},
|
||||
'dock': {
|
||||
'enabled': true,
|
||||
// Threshold for hover to trigger dock display
|
||||
'hoverMinHeight': 5,
|
||||
'hiddenThickness': 5,
|
||||
'pinnedApps': ['firefox', 'org.gnome.Nautilus'],
|
||||
'layer': 'top',
|
||||
'monitorExclusivity': true, // Dock will move to other monitor along with focus if enabled
|
||||
|
||||
@@ -348,7 +348,7 @@ export default (monitor = 0) => {
|
||||
},
|
||||
child: Box({
|
||||
homogeneous: true,
|
||||
css: `min-height: ${userOptions.dock.hoverMinHeight}px;`,
|
||||
css: `min-height: ${userOptions.dock.hiddenThickness}px;`,
|
||||
children: [
|
||||
dockRevealer,
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user