From fa2723a54defdd53f6c69a2aaee68e9b24809291 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Mon, 9 Jun 2025 12:23:58 +0200 Subject: [PATCH] dock: remove user config option because it doesn't work (just use enableDock in shell.qml) --- .config/quickshell/modules/common/ConfigOptions.qml | 1 - .config/quickshell/shell.qml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.config/quickshell/modules/common/ConfigOptions.qml b/.config/quickshell/modules/common/ConfigOptions.qml index 514f21c23..6f1bc112a 100644 --- a/.config/quickshell/modules/common/ConfigOptions.qml +++ b/.config/quickshell/modules/common/ConfigOptions.qml @@ -53,7 +53,6 @@ Singleton { } property QtObject dock: QtObject { - property bool enable: false property real height: 60 property real hoverRegionHeight: 3 property bool pinnedOnStartup: false diff --git a/.config/quickshell/shell.qml b/.config/quickshell/shell.qml index 5d14061bf..4acb7cccb 100644 --- a/.config/quickshell/shell.qml +++ b/.config/quickshell/shell.qml @@ -54,7 +54,7 @@ ShellRoot { LazyLoader { active: enableBar; component: Bar {} } LazyLoader { active: enableBackgroundWidgets; component: BackgroundWidgets {} } LazyLoader { active: enableCheatsheet; component: Cheatsheet {} } - LazyLoader { active: (enableDock && ConfigOptions?.dock.enable); component: Dock {} } + LazyLoader { active: enableDock; component: Dock {} } LazyLoader { active: enableMediaControls; component: MediaControls {} } LazyLoader { active: enableNotificationPopup; component: NotificationPopup {} } LazyLoader { active: enableOnScreenDisplayBrightness; component: OnScreenDisplayBrightness {} }