1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-05-02 10:32:07 -04:00

fix blur port and warnings

This commit is contained in:
bbedward
2026-04-22 10:53:46 -04:00
parent f9428a1009
commit a644c93b1b
15 changed files with 5 additions and 14 deletions

View File

@@ -58,7 +58,7 @@ Item {
} }
} }
property bool enabled: isInstance ? (instanceData?.enabled ?? true) : SettingsData.desktopClockEnabled enabled: isInstance ? (instanceData?.enabled ?? true) : SettingsData.desktopClockEnabled
property real transparency: isInstance ? (cfg.transparency ?? 0.8) : SettingsData.desktopClockTransparency property real transparency: isInstance ? (cfg.transparency ?? 0.8) : SettingsData.desktopClockTransparency
property string colorMode: isInstance ? (cfg.colorMode ?? "primary") : SettingsData.desktopClockColorMode property string colorMode: isInstance ? (cfg.colorMode ?? "primary") : SettingsData.desktopClockColorMode
property color customColor: isInstance ? (cfg.customColor ?? "#ffffff") : SettingsData.desktopClockCustomColor property color customColor: isInstance ? (cfg.customColor ?? "#ffffff") : SettingsData.desktopClockCustomColor

View File

@@ -37,7 +37,7 @@ Item {
readonly property var cfg: instanceData?.config ?? null readonly property var cfg: instanceData?.config ?? null
readonly property bool isInstance: instanceId !== "" && cfg !== null readonly property bool isInstance: instanceId !== "" && cfg !== null
property bool enabled: isInstance ? (instanceData?.enabled ?? true) : SettingsData.systemMonitorEnabled enabled: isInstance ? (instanceData?.enabled ?? true) : SettingsData.systemMonitorEnabled
property bool showHeader: isInstance ? (cfg.showHeader ?? true) : SettingsData.systemMonitorShowHeader property bool showHeader: isInstance ? (cfg.showHeader ?? true) : SettingsData.systemMonitorShowHeader
property real transparency: isInstance ? (cfg.transparency ?? 0.8) : SettingsData.systemMonitorTransparency property real transparency: isInstance ? (cfg.transparency ?? 0.8) : SettingsData.systemMonitorTransparency
property string colorMode: isInstance ? (cfg.colorMode ?? "primary") : SettingsData.systemMonitorColorMode property string colorMode: isInstance ? (cfg.colorMode ?? "primary") : SettingsData.systemMonitorColorMode

View File

@@ -12,7 +12,6 @@ Rectangle {
property string text: "" property string text: ""
property string secondaryText: "" property string secondaryText: ""
property bool isActive: false property bool isActive: false
property bool enabled: true
property int widgetIndex: 0 property int widgetIndex: 0
property var widgetData: null property var widgetData: null
property bool editMode: false property bool editMode: false

View File

@@ -14,7 +14,6 @@ Rectangle {
property real value: 0.0 property real value: 0.0
property real maximumValue: 1.0 property real maximumValue: 1.0
property real minimumValue: 0.0 property real minimumValue: 0.0
property bool enabled: true
signal sliderValueChanged(real value) signal sliderValueChanged(real value)

View File

@@ -10,7 +10,7 @@ Rectangle {
LayoutMirroring.childrenInherit: true LayoutMirroring.childrenInherit: true
property bool isActive: BatteryService.batteryAvailable && (BatteryService.isCharging || BatteryService.isPluggedIn) property bool isActive: BatteryService.batteryAvailable && (BatteryService.isCharging || BatteryService.isPluggedIn)
property bool enabled: BatteryService.batteryAvailable enabled: BatteryService.batteryAvailable
signal clicked signal clicked

View File

@@ -25,7 +25,7 @@ Rectangle {
return parseFloat(selectedMount.percent.replace("%", "")) || 0; return parseFloat(selectedMount.percent.replace("%", "")) || 0;
} }
property bool enabled: DgopService.dgopAvailable enabled: DgopService.dgopAvailable
signal clicked signal clicked

View File

@@ -7,7 +7,6 @@ Rectangle {
property string iconName: "" property string iconName: ""
property bool isActive: false property bool isActive: false
property bool enabled: true
property real iconRotation: 0 property real iconRotation: 0
signal clicked signal clicked

View File

@@ -11,7 +11,6 @@ Rectangle {
property string iconName: "" property string iconName: ""
property string text: "" property string text: ""
property bool isActive: false property bool isActive: false
property bool enabled: true
property string secondaryText: "" property string secondaryText: ""
property real iconRotation: 0 property real iconRotation: 0

View File

@@ -1,5 +1,6 @@
import QtQuick import QtQuick
import QtQuick.Controls import QtQuick.Controls
import QtQuick.Effects
import Quickshell import Quickshell
import Quickshell.Wayland import Quickshell.Wayland
import Quickshell.Services.Notifications import Quickshell.Services.Notifications

View File

@@ -17,7 +17,6 @@ StyledRect {
property string description: "" property string description: ""
property string iconName: "" property string iconName: ""
property bool checked: false property bool checked: false
property bool enabled: true
default property alias content: expandedContent.children default property alias content: expandedContent.children
readonly property bool hasContent: expandedContent.children.length > 0 readonly property bool hasContent: expandedContent.children.length > 0

View File

@@ -10,7 +10,6 @@ StyledRect {
property color iconColor: Theme.surfaceText property color iconColor: Theme.surfaceText
property color backgroundColor: "transparent" property color backgroundColor: "transparent"
property bool circular: true property bool circular: true
property bool enabled: true
property int buttonSize: 32 property int buttonSize: 32
property var tooltipText: null property var tooltipText: null
property string tooltipSide: "bottom" property string tooltipSide: "bottom"

View File

@@ -8,7 +8,6 @@ Rectangle {
property string text: "" property string text: ""
property string iconName: "" property string iconName: ""
property int iconSize: Theme.iconSizeSmall property int iconSize: Theme.iconSizeSmall
property bool enabled: true
property bool hovered: mouseArea.containsMouse property bool hovered: mouseArea.containsMouse
property bool pressed: mouseArea.pressed property bool pressed: mouseArea.pressed
property color backgroundColor: Theme.buttonBg property color backgroundColor: Theme.buttonBg

View File

@@ -11,7 +11,6 @@ Item {
property int step: 1 property int step: 1
property string leftIcon: "" property string leftIcon: ""
property string rightIcon: "" property string rightIcon: ""
property bool enabled: true
property string unit: "%" property string unit: "%"
property bool showValue: true property bool showValue: true
property bool isDragging: false property bool isDragging: false

View File

@@ -25,7 +25,6 @@ StyledRect {
property string placeholderText: "" property string placeholderText: ""
property alias font: textInput.font property alias font: textInput.font
property alias textColor: textInput.color property alias textColor: textInput.color
property alias enabled: textInput.enabled
property alias echoMode: textInput.echoMode property alias echoMode: textInput.echoMode
property alias validator: textInput.validator property alias validator: textInput.validator
property alias maximumLength: textInput.maximumLength property alias maximumLength: textInput.maximumLength

View File

@@ -10,7 +10,6 @@ Item {
// API // API
property bool checked: false property bool checked: false
property bool enabled: true
property bool toggling: false property bool toggling: false
property string text: "" property string text: ""
property string description: "" property string description: ""