Remove need for polkit, launch any ArchUpdater update through terminal

ArchUpdater: rely on `TERMINAL` environment variable
README: Add explanation for the `TERMINAL` environment variable
This commit is contained in:
Ly-sec 2025-08-30 02:28:48 +02:00
parent 5ab76c98e5
commit 299add4a15
19 changed files with 1232 additions and 799 deletions

View file

@ -3,12 +3,8 @@ import QtQuick.Layouts
import qs.Commons
ColumnLayout {
id: root
property string label: ""
property string description: ""
property color labelColor: Color.mOnSurface
property color descriptionColor: Color.mOnSurfaceVariant
spacing: Style.marginXXS * scaling
Layout.fillWidth: true
@ -17,14 +13,14 @@ ColumnLayout {
text: label
font.pointSize: Style.fontSizeL * scaling
font.weight: Style.fontWeightBold
color: labelColor
color: Color.mOnSurface
visible: label !== ""
}
NText {
text: description
font.pointSize: Style.fontSizeS * scaling
color: descriptionColor
color: Color.mOnSurfaceVariant
wrapMode: Text.WordWrap
visible: description !== ""
Layout.fillWidth: true

View file

@ -12,8 +12,6 @@ ColumnLayout {
property bool readOnly: false
property bool enabled: true
property int inputMaxWidth: 420 * scaling
property color labelColor: Color.mOnSurface
property color descriptionColor: Color.mOnSurfaceVariant
property alias text: input.text
property alias placeholderText: input.placeholderText
@ -27,8 +25,6 @@ ColumnLayout {
NLabel {
label: root.label
description: root.description
labelColor: root.labelColor
descriptionColor: root.descriptionColor
visible: root.label !== "" || root.description !== ""
}

View file

@ -35,7 +35,7 @@ Item {
}
}
}
//Logger.log("NWidgetLoader", "Loaded", widgetName, "on screen", item.screen.name)
Logger.log("NWidgetLoader", "Loaded", widgetName, "on screen", item.screen.name)
}
}