From ecb2f246b60bf991017cf6d7fc409c5587290ec3 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Sun, 29 Jun 2025 23:10:13 +0200 Subject: [PATCH] settings: add config option for floating bar --- .../quickshell/modules/settings/InterfaceConfig.qml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.config/quickshell/modules/settings/InterfaceConfig.qml b/.config/quickshell/modules/settings/InterfaceConfig.qml index 7d3799d23..f952ef57d 100644 --- a/.config/quickshell/modules/settings/InterfaceConfig.qml +++ b/.config/quickshell/modules/settings/InterfaceConfig.qml @@ -52,6 +52,19 @@ ContentPage { ContentSection { title: "Bar" + ConfigSelectionArray { + currentValue: ConfigOptions.bar.cornerStyle + configOptionName: "bar.cornerStyle" + onSelected: (newValue) => { + ConfigLoader.setConfigValueAndSave("bar.cornerStyle", newValue); + } + options: [ + { displayName: "Hug", value: 0 }, + { displayName: "Float", value: 1 }, + { displayName: "Plain rectangle", value: 2 } + ] + } + ContentSubsection { title: "Appearance" ConfigRow {