diff --git a/Modules/SettingsPanel/Tabs/HooksTab.qml b/Modules/SettingsPanel/Tabs/HooksTab.qml index 6885eb4..af1ca2e 100644 --- a/Modules/SettingsPanel/Tabs/HooksTab.qml +++ b/Modules/SettingsPanel/Tabs/HooksTab.qml @@ -84,19 +84,9 @@ ScrollView { spacing: Style.marginS * scaling Layout.fillWidth: true - NText { - text: "Hook Command Information" - font.pointSize: Style.fontSizeM * scaling - font.weight: Style.fontWeightBold - color: Color.mOnSurface - } - - NText { - text: "• Commands are executed via shell (sh -c)\n• Commands run in background (detached)\n• Test buttons execute with current values" - font.pointSize: Style.fontSizeS * scaling - color: Color.mOnSurfaceVariant - wrapMode: Text.Wrap - Layout.fillWidth: true + NLabel { + label: "Hook Command Information" + description: "• Commands are executed via shell (sh -c)\n• Commands run in background (detached)\n• Test buttons execute with current values" } } } diff --git a/Widgets/NPanel.qml b/Widgets/NPanel.qml index 8c10c8f..25aaa70 100644 --- a/Widgets/NPanel.qml +++ b/Widgets/NPanel.qml @@ -148,7 +148,8 @@ Loader { visible: true // Dim desktop if required - color: (root.active && !root.isClosing && Settings.data.general.dimDesktop) ? Qt.alpha(Color.mShadow, Style.opacityHeavy) : Color.transparent + color: (root.active && !root.isClosing + && Settings.data.general.dimDesktop) ? Qt.alpha(Color.mShadow, Style.opacityHeavy) : Color.transparent WlrLayershell.exclusionMode: ExclusionMode.Ignore WlrLayershell.namespace: "noctalia-panel"