From 591d2ba4d4fae2a575fa4961db08e831b6e3d834 Mon Sep 17 00:00:00 2001 From: purian23 Date: Sun, 8 Feb 2026 20:26:06 -0500 Subject: [PATCH] settings: DankCollapsible --- quickshell/Modules/Settings/DankBarTab.qml | 5 +++++ quickshell/Modules/Settings/DockTab.qml | 4 ++++ quickshell/Modules/Settings/LauncherTab.qml | 2 ++ quickshell/Modules/Settings/NotificationsTab.qml | 2 ++ 4 files changed, 13 insertions(+) diff --git a/quickshell/Modules/Settings/DankBarTab.qml b/quickshell/Modules/Settings/DankBarTab.qml index 54bb0081..a29db109 100644 --- a/quickshell/Modules/Settings/DankBarTab.qml +++ b/quickshell/Modules/Settings/DankBarTab.qml @@ -1028,6 +1028,8 @@ Item { iconName: "rounded_corner" title: I18n.tr("Corners & Background") settingKey: "barCorners" + collapsible: true + expanded: false visible: selectedBarConfig?.enabled SettingsToggleRow { @@ -1103,6 +1105,9 @@ Item { id: shadowCard iconName: "layers" title: I18n.tr("Shadow", "bar shadow settings card") + settingKey: "barShadow" + collapsible: true + expanded: false visible: selectedBarConfig?.enabled readonly property bool shadowActive: (selectedBarConfig?.shadowIntensity ?? 0) > 0 diff --git a/quickshell/Modules/Settings/DockTab.qml b/quickshell/Modules/Settings/DockTab.qml index b1ad052d..25f61479 100644 --- a/quickshell/Modules/Settings/DockTab.qml +++ b/quickshell/Modules/Settings/DockTab.qml @@ -473,6 +473,8 @@ Item { iconName: "space_bar" title: I18n.tr("Spacing") settingKey: "dockSpacing" + collapsible: true + expanded: false SettingsSliderRow { text: I18n.tr("Padding") @@ -524,6 +526,8 @@ Item { iconName: "border_style" title: I18n.tr("Border") settingKey: "dockBorder" + collapsible: true + expanded: false SettingsToggleRow { text: I18n.tr("Border") diff --git a/quickshell/Modules/Settings/LauncherTab.qml b/quickshell/Modules/Settings/LauncherTab.qml index 0539f5b3..79fbc709 100644 --- a/quickshell/Modules/Settings/LauncherTab.qml +++ b/quickshell/Modules/Settings/LauncherTab.qml @@ -1056,6 +1056,8 @@ Item { iconName: "history" title: I18n.tr("Recently Used Apps") settingKey: "recentApps" + collapsible: true + expanded: false property var rankedAppsModel: { var ranking = AppUsageHistoryData.appUsageRanking; diff --git a/quickshell/Modules/Settings/NotificationsTab.qml b/quickshell/Modules/Settings/NotificationsTab.qml index 74fed251..c6222700 100644 --- a/quickshell/Modules/Settings/NotificationsTab.qml +++ b/quickshell/Modules/Settings/NotificationsTab.qml @@ -192,6 +192,8 @@ Item { iconName: "timer" title: I18n.tr("Notification Timeouts") settingKey: "notificationTimeouts" + collapsible: true + expanded: false SettingsDropdownRow { settingKey: "notificationTimeoutLow"