diff --git a/quickshell/Modules/BuiltinDesktopPlugins/DesktopClockWidget.qml b/quickshell/Modules/BuiltinDesktopPlugins/DesktopClockWidget.qml index 387d9a26..c6089f76 100644 --- a/quickshell/Modules/BuiltinDesktopPlugins/DesktopClockWidget.qml +++ b/quickshell/Modules/BuiltinDesktopPlugins/DesktopClockWidget.qml @@ -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 string colorMode: isInstance ? (cfg.colorMode ?? "primary") : SettingsData.desktopClockColorMode property color customColor: isInstance ? (cfg.customColor ?? "#ffffff") : SettingsData.desktopClockCustomColor diff --git a/quickshell/Modules/BuiltinDesktopPlugins/SystemMonitorWidget.qml b/quickshell/Modules/BuiltinDesktopPlugins/SystemMonitorWidget.qml index 515e74e4..1d21d6bf 100644 --- a/quickshell/Modules/BuiltinDesktopPlugins/SystemMonitorWidget.qml +++ b/quickshell/Modules/BuiltinDesktopPlugins/SystemMonitorWidget.qml @@ -37,7 +37,7 @@ Item { readonly property var cfg: instanceData?.config ?? 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 real transparency: isInstance ? (cfg.transparency ?? 0.8) : SettingsData.systemMonitorTransparency property string colorMode: isInstance ? (cfg.colorMode ?? "primary") : SettingsData.systemMonitorColorMode diff --git a/quickshell/Modules/ControlCenter/Components/ActionTile.qml b/quickshell/Modules/ControlCenter/Components/ActionTile.qml index d85c779b..fc422e35 100644 --- a/quickshell/Modules/ControlCenter/Components/ActionTile.qml +++ b/quickshell/Modules/ControlCenter/Components/ActionTile.qml @@ -12,7 +12,6 @@ Rectangle { property string text: "" property string secondaryText: "" property bool isActive: false - property bool enabled: true property int widgetIndex: 0 property var widgetData: null property bool editMode: false diff --git a/quickshell/Modules/ControlCenter/Widgets/CompactSlider.qml b/quickshell/Modules/ControlCenter/Widgets/CompactSlider.qml index eeed4c42..f11982b5 100644 --- a/quickshell/Modules/ControlCenter/Widgets/CompactSlider.qml +++ b/quickshell/Modules/ControlCenter/Widgets/CompactSlider.qml @@ -14,7 +14,6 @@ Rectangle { property real value: 0.0 property real maximumValue: 1.0 property real minimumValue: 0.0 - property bool enabled: true signal sliderValueChanged(real value) diff --git a/quickshell/Modules/ControlCenter/Widgets/SmallBatteryButton.qml b/quickshell/Modules/ControlCenter/Widgets/SmallBatteryButton.qml index 02da286a..6daf7fe7 100644 --- a/quickshell/Modules/ControlCenter/Widgets/SmallBatteryButton.qml +++ b/quickshell/Modules/ControlCenter/Widgets/SmallBatteryButton.qml @@ -10,7 +10,7 @@ Rectangle { LayoutMirroring.childrenInherit: true property bool isActive: BatteryService.batteryAvailable && (BatteryService.isCharging || BatteryService.isPluggedIn) - property bool enabled: BatteryService.batteryAvailable + enabled: BatteryService.batteryAvailable signal clicked diff --git a/quickshell/Modules/ControlCenter/Widgets/SmallDiskUsageButton.qml b/quickshell/Modules/ControlCenter/Widgets/SmallDiskUsageButton.qml index 30c4e367..77d975eb 100644 --- a/quickshell/Modules/ControlCenter/Widgets/SmallDiskUsageButton.qml +++ b/quickshell/Modules/ControlCenter/Widgets/SmallDiskUsageButton.qml @@ -25,7 +25,7 @@ Rectangle { return parseFloat(selectedMount.percent.replace("%", "")) || 0; } - property bool enabled: DgopService.dgopAvailable + enabled: DgopService.dgopAvailable signal clicked diff --git a/quickshell/Modules/ControlCenter/Widgets/SmallToggleButton.qml b/quickshell/Modules/ControlCenter/Widgets/SmallToggleButton.qml index 7d86947f..7d8c089b 100644 --- a/quickshell/Modules/ControlCenter/Widgets/SmallToggleButton.qml +++ b/quickshell/Modules/ControlCenter/Widgets/SmallToggleButton.qml @@ -7,7 +7,6 @@ Rectangle { property string iconName: "" property bool isActive: false - property bool enabled: true property real iconRotation: 0 signal clicked diff --git a/quickshell/Modules/ControlCenter/Widgets/ToggleButton.qml b/quickshell/Modules/ControlCenter/Widgets/ToggleButton.qml index b8adda84..afac6319 100644 --- a/quickshell/Modules/ControlCenter/Widgets/ToggleButton.qml +++ b/quickshell/Modules/ControlCenter/Widgets/ToggleButton.qml @@ -11,7 +11,6 @@ Rectangle { property string iconName: "" property string text: "" property bool isActive: false - property bool enabled: true property string secondaryText: "" property real iconRotation: 0 diff --git a/quickshell/Modules/Notifications/Popup/NotificationPopup.qml b/quickshell/Modules/Notifications/Popup/NotificationPopup.qml index 8be82862..1aa298e6 100644 --- a/quickshell/Modules/Notifications/Popup/NotificationPopup.qml +++ b/quickshell/Modules/Notifications/Popup/NotificationPopup.qml @@ -1,5 +1,6 @@ import QtQuick import QtQuick.Controls +import QtQuick.Effects import Quickshell import Quickshell.Wayland import Quickshell.Services.Notifications diff --git a/quickshell/Modules/Settings/Widgets/SettingsToggleCard.qml b/quickshell/Modules/Settings/Widgets/SettingsToggleCard.qml index c36fb7c4..343d5356 100644 --- a/quickshell/Modules/Settings/Widgets/SettingsToggleCard.qml +++ b/quickshell/Modules/Settings/Widgets/SettingsToggleCard.qml @@ -17,7 +17,6 @@ StyledRect { property string description: "" property string iconName: "" property bool checked: false - property bool enabled: true default property alias content: expandedContent.children readonly property bool hasContent: expandedContent.children.length > 0 diff --git a/quickshell/Widgets/DankActionButton.qml b/quickshell/Widgets/DankActionButton.qml index c23e84b6..126d5a5a 100644 --- a/quickshell/Widgets/DankActionButton.qml +++ b/quickshell/Widgets/DankActionButton.qml @@ -10,7 +10,6 @@ StyledRect { property color iconColor: Theme.surfaceText property color backgroundColor: "transparent" property bool circular: true - property bool enabled: true property int buttonSize: 32 property var tooltipText: null property string tooltipSide: "bottom" diff --git a/quickshell/Widgets/DankButton.qml b/quickshell/Widgets/DankButton.qml index ea8a202b..6de3a8d4 100644 --- a/quickshell/Widgets/DankButton.qml +++ b/quickshell/Widgets/DankButton.qml @@ -8,7 +8,6 @@ Rectangle { property string text: "" property string iconName: "" property int iconSize: Theme.iconSizeSmall - property bool enabled: true property bool hovered: mouseArea.containsMouse property bool pressed: mouseArea.pressed property color backgroundColor: Theme.buttonBg diff --git a/quickshell/Widgets/DankSlider.qml b/quickshell/Widgets/DankSlider.qml index 538c0a9f..1012f4a2 100644 --- a/quickshell/Widgets/DankSlider.qml +++ b/quickshell/Widgets/DankSlider.qml @@ -11,7 +11,6 @@ Item { property int step: 1 property string leftIcon: "" property string rightIcon: "" - property bool enabled: true property string unit: "%" property bool showValue: true property bool isDragging: false diff --git a/quickshell/Widgets/DankTextField.qml b/quickshell/Widgets/DankTextField.qml index 59b7a241..a8a78a97 100644 --- a/quickshell/Widgets/DankTextField.qml +++ b/quickshell/Widgets/DankTextField.qml @@ -25,7 +25,6 @@ StyledRect { property string placeholderText: "" property alias font: textInput.font property alias textColor: textInput.color - property alias enabled: textInput.enabled property alias echoMode: textInput.echoMode property alias validator: textInput.validator property alias maximumLength: textInput.maximumLength diff --git a/quickshell/Widgets/DankToggle.qml b/quickshell/Widgets/DankToggle.qml index 9e6710b6..a1d629b5 100644 --- a/quickshell/Widgets/DankToggle.qml +++ b/quickshell/Widgets/DankToggle.qml @@ -10,7 +10,6 @@ Item { // API property bool checked: false - property bool enabled: true property bool toggling: false property string text: "" property string description: ""