forked from Shinonome/dots-hyprland
dock: add back enable config option now that it works properly
This commit is contained in:
@@ -132,10 +132,11 @@ Singleton {
|
|||||||
}
|
}
|
||||||
|
|
||||||
property JsonObject dock: JsonObject {
|
property JsonObject dock: JsonObject {
|
||||||
|
property bool enable: false
|
||||||
property real height: 60
|
property real height: 60
|
||||||
property real hoverRegionHeight: 3
|
property real hoverRegionHeight: 3
|
||||||
property bool pinnedOnStartup: false
|
property bool pinnedOnStartup: false
|
||||||
property bool hoverToReveal: false // When false, only reveals on empty workspace
|
property bool hoverToReveal: true // When false, only reveals on empty workspace
|
||||||
property list<string> pinnedApps: [ // IDs of pinned entries
|
property list<string> pinnedApps: [ // IDs of pinned entries
|
||||||
"org.kde.dolphin", "kitty",]
|
"org.kde.dolphin", "kitty",]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ ShellRoot {
|
|||||||
property bool enableBar: true
|
property bool enableBar: true
|
||||||
property bool enableBackgroundWidgets: true
|
property bool enableBackgroundWidgets: true
|
||||||
property bool enableCheatsheet: true
|
property bool enableCheatsheet: true
|
||||||
property bool enableDock: false
|
property bool enableDock: true
|
||||||
property bool enableMediaControls: true
|
property bool enableMediaControls: true
|
||||||
property bool enableNotificationPopup: true
|
property bool enableNotificationPopup: true
|
||||||
property bool enableOnScreenDisplayBrightness: true
|
property bool enableOnScreenDisplayBrightness: true
|
||||||
@@ -55,7 +55,7 @@ ShellRoot {
|
|||||||
LazyLoader { active: enableBar; component: Bar {} }
|
LazyLoader { active: enableBar; component: Bar {} }
|
||||||
LazyLoader { active: enableBackgroundWidgets; component: BackgroundWidgets {} }
|
LazyLoader { active: enableBackgroundWidgets; component: BackgroundWidgets {} }
|
||||||
LazyLoader { active: enableCheatsheet; component: Cheatsheet {} }
|
LazyLoader { active: enableCheatsheet; component: Cheatsheet {} }
|
||||||
LazyLoader { active: enableDock; component: Dock {} }
|
LazyLoader { active: enableDock && Config.options.dock.enable; component: Dock {} }
|
||||||
LazyLoader { active: enableMediaControls; component: MediaControls {} }
|
LazyLoader { active: enableMediaControls; component: MediaControls {} }
|
||||||
LazyLoader { active: enableNotificationPopup; component: NotificationPopup {} }
|
LazyLoader { active: enableNotificationPopup; component: NotificationPopup {} }
|
||||||
LazyLoader { active: enableOnScreenDisplayBrightness; component: OnScreenDisplayBrightness {} }
|
LazyLoader { active: enableOnScreenDisplayBrightness; component: OnScreenDisplayBrightness {} }
|
||||||
|
|||||||
Reference in New Issue
Block a user