HooksTab: replace NText with NLabel

This commit is contained in:
Ly-sec 2025-09-04 18:01:06 +02:00
parent ac21deefa4
commit a91d790074
2 changed files with 5 additions and 14 deletions

View file

@ -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"
}
}
}

View file

@ -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"