quickshell: steal wifi & bluetooth panel
This commit is contained in:
@@ -8,19 +8,19 @@ Singleton {
|
||||
id: root
|
||||
|
||||
// Compatibility colors for noctalia modules
|
||||
property color mPrimary: Colors.primary
|
||||
property color mOnPrimary: Colors.base
|
||||
property color mSecondary: Colors.primary
|
||||
property color mOnSecondary: Colors.base
|
||||
property color mTertiary: Colors.primary
|
||||
property color mOnTertiary: Colors.base
|
||||
property color mError: Colors.red
|
||||
property color mOnError: Colors.base
|
||||
property color mSurface: Colors.base
|
||||
property color mOnSurface: Colors.text
|
||||
property color mSurfaceVariant: Colors.surface
|
||||
property color mOnSurfaceVariant: Colors.overlay1
|
||||
property color mOutline: Colors.primary
|
||||
property color mShadow: Colors.crust
|
||||
property color transparent: "transparent"
|
||||
readonly property color mPrimary: Colors.primary
|
||||
readonly property color mOnPrimary: Colors.base
|
||||
readonly property color mSecondary: Colors.primary
|
||||
readonly property color mOnSecondary: Colors.base
|
||||
readonly property color mTertiary: Colors.primary
|
||||
readonly property color mOnTertiary: Colors.base
|
||||
readonly property color mError: Colors.red
|
||||
readonly property color mOnError: Colors.base
|
||||
readonly property color mSurface: Colors.base
|
||||
readonly property color mOnSurface: Colors.text
|
||||
readonly property color mSurfaceVariant: Colors.surface
|
||||
readonly property color mOnSurfaceVariant: Colors.overlay1
|
||||
readonly property color mOutline: Colors.primary
|
||||
readonly property color mShadow: Colors.crust
|
||||
readonly property color transparent: "transparent"
|
||||
}
|
||||
|
||||
@@ -6,6 +6,7 @@ pragma Singleton
|
||||
Singleton {
|
||||
id: root
|
||||
|
||||
readonly property color primary: SettingsService.primaryColor
|
||||
readonly property color transparent: "transparent"
|
||||
readonly property color rosewater: "#f5e0dc"
|
||||
readonly property color flamingo: "#f2cdcd"
|
||||
@@ -34,7 +35,6 @@ Singleton {
|
||||
readonly property color base: "#1e1e2e"
|
||||
readonly property color mantle: "#181825"
|
||||
readonly property color crust: "#11111b"
|
||||
property color primary: SettingsService.primaryColor
|
||||
readonly property color distroColor: "#74c7ec"
|
||||
readonly property var cavaList: ["#b4befe", "#89b4fa", "#74c7ec", "#89dceb", "#94e2d5", "#a6e3a1", "#f9e2af", "#fab387"]
|
||||
}
|
||||
|
||||
@@ -37,6 +37,10 @@ Singleton {
|
||||
readonly property string reset: ""
|
||||
readonly property string lines: ""
|
||||
readonly property string record: ""
|
||||
readonly property string wifiOn: ""
|
||||
readonly property string wifiOff: ""
|
||||
readonly property string bluetoothOn: ""
|
||||
readonly property string bluetoothOff: ""
|
||||
// Tabler icons
|
||||
// Expose the font family name for easy access
|
||||
readonly property string fontFamily: currentFontLoader ? currentFontLoader.name : ""
|
||||
|
||||
@@ -11,58 +11,58 @@ Singleton {
|
||||
id: root
|
||||
|
||||
// Font size
|
||||
property real fontSizeXXS: 8
|
||||
property real fontSizeXS: 9
|
||||
property real fontSizeS: 10
|
||||
property real fontSizeM: 11
|
||||
property real fontSizeL: 13
|
||||
property real fontSizeXL: 16
|
||||
property real fontSizeXXL: 18
|
||||
property real fontSizeXXXL: 24
|
||||
readonly property real fontSizeXXS: 8
|
||||
readonly property real fontSizeXS: 9
|
||||
readonly property real fontSizeS: 10
|
||||
readonly property real fontSizeM: 11
|
||||
readonly property real fontSizeL: 13
|
||||
readonly property real fontSizeXL: 16
|
||||
readonly property real fontSizeXXL: 18
|
||||
readonly property real fontSizeXXXL: 24
|
||||
// Font weight
|
||||
property int fontWeightRegular: 400
|
||||
property int fontWeightMedium: 500
|
||||
property int fontWeightSemiBold: 600
|
||||
property int fontWeightBold: 700
|
||||
readonly property int fontWeightRegular: 400
|
||||
readonly property int fontWeightMedium: 500
|
||||
readonly property int fontWeightSemiBold: 600
|
||||
readonly property int fontWeightBold: 700
|
||||
// Radii
|
||||
property int radiusXXS: 4
|
||||
property int radiusXS: 8
|
||||
property int radiusS: 12
|
||||
property int radiusM: 16
|
||||
property int radiusL: 20
|
||||
readonly property int radiusXXS: 4
|
||||
readonly property int radiusXS: 8
|
||||
readonly property int radiusS: 12
|
||||
readonly property int radiusM: 16
|
||||
readonly property int radiusL: 20
|
||||
//screen Radii
|
||||
property int screenRadius: 20
|
||||
readonly property int screenRadius: 20
|
||||
// Border
|
||||
property int borderS: 2
|
||||
property int borderM: 3
|
||||
property int borderL: 4
|
||||
readonly property int borderS: 2
|
||||
readonly property int borderM: 3
|
||||
readonly property int borderL: 4
|
||||
// Margins (for margins and spacing)
|
||||
property int marginXXS: 2
|
||||
property int marginXS: 4
|
||||
property int marginS: 8
|
||||
property int marginM: 12
|
||||
property int marginL: 16
|
||||
property int marginXL: 24
|
||||
readonly property int marginXXS: 2
|
||||
readonly property int marginXS: 4
|
||||
readonly property int marginS: 8
|
||||
readonly property int marginM: 12
|
||||
readonly property int marginL: 16
|
||||
readonly property int marginXL: 24
|
||||
// Opacity
|
||||
property real opacityNone: 0
|
||||
property real opacityLight: 0.25
|
||||
property real opacityMedium: 0.5
|
||||
property real opacityHeavy: 0.75
|
||||
property real opacityAlmost: 0.95
|
||||
property real opacityFull: 1
|
||||
readonly property real opacityNone: 0
|
||||
readonly property real opacityLight: 0.25
|
||||
readonly property real opacityMedium: 0.5
|
||||
readonly property real opacityHeavy: 0.75
|
||||
readonly property real opacityAlmost: 0.95
|
||||
readonly property real opacityFull: 1
|
||||
// Animation duration (ms)
|
||||
property int animationFast: 150
|
||||
property int animationNormal: 300
|
||||
property int animationSlow: 450
|
||||
property int animationSlowest: 1000
|
||||
readonly property int animationFast: 150
|
||||
readonly property int animationNormal: 300
|
||||
readonly property int animationSlow: 450
|
||||
readonly property int animationSlowest: 1000
|
||||
// Delays
|
||||
property int tooltipDelay: 300
|
||||
property int tooltipDelayLong: 1200
|
||||
property int pillDelay: 500
|
||||
readonly property int tooltipDelay: 300
|
||||
readonly property int tooltipDelayLong: 1200
|
||||
readonly property int pillDelay: 500
|
||||
// Settings widgets base size
|
||||
property real baseWidgetSize: 33
|
||||
property real sliderWidth: 200
|
||||
readonly property real baseWidgetSize: 33
|
||||
readonly property real sliderWidth: 200
|
||||
// Bar Dimensions
|
||||
property real barHeight: 45
|
||||
property real capsuleHeight: 35
|
||||
readonly property real barHeight: 45
|
||||
readonly property real capsuleHeight: 35
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user