From dd2e2a9bca673cbd801c71e21d1cf09884e9e6a7 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Tue, 17 Jun 2025 12:27:39 +0200 Subject: [PATCH] config option for csd of quickshell windows --- .config/quickshell/modules/common/ConfigOptions.qml | 4 ++++ .config/quickshell/welcome.qml | 2 ++ 2 files changed, 6 insertions(+) diff --git a/.config/quickshell/modules/common/ConfigOptions.qml b/.config/quickshell/modules/common/ConfigOptions.qml index 70e46f4ec..c004748e2 100644 --- a/.config/quickshell/modules/common/ConfigOptions.qml +++ b/.config/quickshell/modules/common/ConfigOptions.qml @@ -154,6 +154,10 @@ Singleton { property string dateFormat: "dddd, dd/MM" } + property QtObject windows: QtObject { + property bool showTitlebar: true // Client-side decoration for shell apps + } + property QtObject hacks: QtObject { property int arbitraryRaceConditionDelay: 20 // milliseconds } diff --git a/.config/quickshell/welcome.qml b/.config/quickshell/welcome.qml index f8abe1320..cbc5b4a32 100644 --- a/.config/quickshell/welcome.qml +++ b/.config/quickshell/welcome.qml @@ -256,7 +256,9 @@ ApplicationWindow { fill: parent margins: contentPadding } + Item { + visible: ConfigOptions?.windows.showTitlebar Layout.fillWidth: true implicitHeight: Math.max(welcomeText.implicitHeight, windowControlsRow.implicitHeight) StyledText {