pragma ComponentBehavior: Bound import qs.config import qs.widgets import QtQuick import QtQuick.Controls import QtQuick.Layouts import Quickshell import Quickshell.Services.Notifications import Quickshell.Widgets StyledPopupWindow { id: root backgroundColor: Theme.palette.base300 margins: 16 radius: 8 content: ColumnLayout { spacing: 8 RowLayout { StyledText { text: "Enabled" } Switch { checkable: !!Notifications checked: Bluetooth.defaultAdapter?.enabled ?? false onClicked: Bluetooth.defaultAdapter.enabled = checked } } } }