push
This commit is contained in:
commit
e48edaae42
@ -15,7 +15,7 @@ Loader {
|
||||
sourceComponent: Rectangle {
|
||||
id: container
|
||||
radius: implicitHeight / 2
|
||||
color: Colors.base00
|
||||
color: Colors.surfaceContainer
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
implicitWidth: UPower.displayDevice.isLaptopBattery ? root.implicitWidth + 20 : 0
|
||||
implicitHeight: Settings.config.barHeight - 10
|
||||
|
||||
@ -8,7 +8,7 @@ import qs.reusables
|
||||
Rectangle {
|
||||
id: container
|
||||
radius: implicitHeight / 2
|
||||
color: formatSwitch.containsMouse ? Colors.base01 : Colors.base00
|
||||
color: formatSwitch.containsMouse ? Colors.primaryContainer : Colors.surfaceContainer
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
implicitHeight: Settings.config.barHeight - 10
|
||||
implicitWidth: root.implicitWidth + 20
|
||||
|
||||
@ -10,7 +10,7 @@ Rectangle {
|
||||
visible: root.spotify != null
|
||||
radius: implicitHeight / 2
|
||||
implicitHeight: Settings.config.barHeight - 10
|
||||
color: clickHandler.containsMouse ? Colors.base01 : Colors.base00
|
||||
color: clickHandler.containsMouse ? Colors.primaryContainer : Colors.surfaceContainer
|
||||
implicitWidth: statusRow.width + 20
|
||||
|
||||
property var spotify: root.getSpotify()
|
||||
|
||||
@ -12,7 +12,7 @@ Rectangle {
|
||||
// You might want to make this transparent if you only want the "pills" to show
|
||||
implicitHeight: Settings.config.barHeight - 10
|
||||
implicitWidth: mainLayout.implicitWidth + 20
|
||||
color: Colors.base00
|
||||
color: Colors.surfaceContainer
|
||||
radius: implicitHeight / 2
|
||||
|
||||
// --- Logic Functions ---
|
||||
|
||||
@ -7,7 +7,7 @@ import qs
|
||||
Rectangle {
|
||||
id: root
|
||||
radius: implicitHeight / 2
|
||||
color: pavuArea.containsMouse ? Colors.base01 : Colors.base00
|
||||
color: pavuArea.containsMouse ? Colors.primaryContainer : Colors.surfaceContainer
|
||||
implicitWidth: Settings.config.barHeight - 8
|
||||
implicitHeight: Settings.config.barHeight - 10
|
||||
CustomIcon {
|
||||
|
||||
@ -8,7 +8,7 @@ Rectangle {
|
||||
implicitWidth: trayRow.implicitWidth + 10
|
||||
implicitHeight: Settings.config.barHeight - 10
|
||||
radius: implicitHeight / 2
|
||||
color: Colors.base00
|
||||
color: Colors.surfaceContainer
|
||||
readonly property var count: trayRepeater.count
|
||||
visible: trayRepeater.count > 0
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ import QtQuick.Layouts
|
||||
Rectangle {
|
||||
id: container
|
||||
radius: implicitHeight / 2
|
||||
color: Colors.base00
|
||||
color: Colors.surfaceContainer
|
||||
implicitWidth: root.implicitWidth
|
||||
implicitHeight: Settings.config.barHeight - 10
|
||||
Item {
|
||||
|
||||
@ -9,7 +9,7 @@ import qs
|
||||
Rectangle {
|
||||
id: root
|
||||
radius: implicitHeight / 2
|
||||
color: pavuArea.containsMouse ? Colors.base01 : Colors.base00
|
||||
color: pavuArea.containsMouse ? Colors.primaryContainer : Colors.surfaceContainer
|
||||
implicitWidth: textRow.implicitWidth + 20
|
||||
implicitHeight: Settings.config.barHeight - 10
|
||||
property var sink: Pipewire.defaultAudioSink
|
||||
|
||||
@ -8,7 +8,7 @@ import qs.reusables
|
||||
|
||||
Rectangle {
|
||||
id: root
|
||||
color: Colors.base00
|
||||
color: "transparent"
|
||||
|
||||
implicitWidth: workspaceRow.implicitWidth + 10
|
||||
implicitHeight: Settings.config.barHeight - 10
|
||||
@ -40,7 +40,7 @@ Rectangle {
|
||||
required property var modelData
|
||||
width: !modelData.focused ? 20 : 40
|
||||
height: isOnMon ? Settings.config.barHeight - Settings.config.barHeight / 2 : 0
|
||||
color: modelData.focused ? Colors.base01 : Colors.base00
|
||||
color: modelData.focused ? Colors.primaryContainer : "transparent"
|
||||
Behavior on width {
|
||||
NumberAnimation {
|
||||
|
||||
|
||||
@ -26,7 +26,7 @@ ClippingWrapperRectangle {
|
||||
}
|
||||
anchors.centerIn: parent
|
||||
clip: true
|
||||
color: Colors.base01
|
||||
color: Colors.surfaceContainerHigh
|
||||
radius: 12
|
||||
margin: 20
|
||||
|
||||
@ -45,7 +45,7 @@ ClippingWrapperRectangle {
|
||||
bottomRightRadius: 4
|
||||
bottomLeftRadius: 4
|
||||
|
||||
color: Colors.base01
|
||||
color: Colors.primaryContainer
|
||||
implicitHeight: 30
|
||||
child: RowLayout {
|
||||
id: fontLayout
|
||||
@ -73,7 +73,7 @@ ClippingWrapperRectangle {
|
||||
bottomRightRadius: 4
|
||||
topRightRadius: 4
|
||||
topLeftRadius: 4
|
||||
color: Colors.base01
|
||||
color: Colors.primaryContainer
|
||||
child: RowLayout {
|
||||
id: floatingToggleLayout
|
||||
spacing: 40
|
||||
@ -102,7 +102,7 @@ ClippingWrapperRectangle {
|
||||
bottomRightRadius: 4
|
||||
topRightRadius: 4
|
||||
topLeftRadius: 4
|
||||
color: Colors.base01
|
||||
color: Colors.primaryContainer
|
||||
child: RowLayout {
|
||||
id: screenCornerLayout
|
||||
spacing: 40
|
||||
@ -131,7 +131,7 @@ ClippingWrapperRectangle {
|
||||
bottomRightRadius: 4
|
||||
topRightRadius: 4
|
||||
topLeftRadius: 4
|
||||
color: Colors.base01
|
||||
color: Colors.primaryContainer
|
||||
child: RowLayout {
|
||||
id: screenCornerRadiusLayout
|
||||
spacing: 5
|
||||
@ -174,7 +174,7 @@ ClippingWrapperRectangle {
|
||||
bottomRightRadius: 4
|
||||
topRightRadius: 4
|
||||
topLeftRadius: 4
|
||||
color: Colors.base01
|
||||
color: Colors.primaryContainer
|
||||
child: RowLayout {
|
||||
id: barControlsLayout
|
||||
spacing: 5
|
||||
@ -217,7 +217,7 @@ ClippingWrapperRectangle {
|
||||
bottomRightRadius: 4
|
||||
topRightRadius: 4
|
||||
topLeftRadius: 4
|
||||
color: Colors.base01
|
||||
color: Colors.primaryContainer
|
||||
child: RowLayout {
|
||||
id: barMarginLayout
|
||||
spacing: 5
|
||||
@ -257,7 +257,7 @@ ClippingWrapperRectangle {
|
||||
bottomRightRadius: 12
|
||||
topRightRadius: 4
|
||||
topLeftRadius: 4
|
||||
color: Colors.base01
|
||||
color: Colors.primaryContainer
|
||||
Layout.fillWidth: true
|
||||
RowLayout {
|
||||
id: translucencyLayout
|
||||
|
||||
@ -14,7 +14,7 @@ FloatingWindow {
|
||||
onClosed: {
|
||||
Settings.config.settingsShown = false;
|
||||
}
|
||||
color: Colors.base00
|
||||
color: Colors.surfaceContainer
|
||||
title: "qs-settings"
|
||||
implicitWidth: 800
|
||||
implicitHeight: 600
|
||||
@ -50,7 +50,7 @@ FloatingWindow {
|
||||
Layout.preferredWidth: 200
|
||||
Layout.rightMargin: 0
|
||||
margin: 20
|
||||
color: Colors.base00
|
||||
color: Colors.surfaceContainer
|
||||
radius: 12
|
||||
ListView {
|
||||
id: pageView
|
||||
@ -61,7 +61,7 @@ FloatingWindow {
|
||||
id: pageDelegate
|
||||
Rectangle {
|
||||
radius: 24
|
||||
color: ListView.isCurrentItem ? Colors.base01 : "transparent"
|
||||
color: ListView.isCurrentItem ? Colors.primaryContainer : "transparent"
|
||||
implicitHeight: 30
|
||||
implicitWidth: pageWrapper.width - 50
|
||||
required property var modelData
|
||||
|
||||
@ -23,7 +23,7 @@ FloatingWindow {
|
||||
}
|
||||
Process {
|
||||
id: wallustRunner
|
||||
property string cmd: "wallust run " + Settings.config.currentWall
|
||||
property string cmd: "matugen image " + Settings.config.currentWall + " --source-color-index 0"
|
||||
command: ["sh", "-c", cmd]
|
||||
}
|
||||
GlobalShortcut {
|
||||
|
||||
@ -15,9 +15,7 @@ Button {
|
||||
}
|
||||
background: Rectangle {
|
||||
id: contentBackground
|
||||
border.color: control.down ? Colors.primaryFixed : Colors.primary
|
||||
border.width: 1
|
||||
radius: parent.implicitHeight / 2
|
||||
color: Colors.surfaceContainerLow
|
||||
color: Colors.surfaceContainerHigh
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,7 +1,8 @@
|
||||
import QtQuick
|
||||
import qs
|
||||
|
||||
CustomText {
|
||||
Text {
|
||||
color: Colors.onSurfaceColor
|
||||
id: root
|
||||
property real iconSize: 16
|
||||
property real fill: 1
|
||||
|
||||
@ -20,7 +20,6 @@ Slider {
|
||||
height: parent.height
|
||||
color: Colors.primary
|
||||
radius: 2
|
||||
border.color: Colors.outline
|
||||
}
|
||||
}
|
||||
|
||||
@ -31,6 +30,5 @@ Slider {
|
||||
implicitHeight: control.implicitHeight - 2
|
||||
radius: 13
|
||||
color: control.pressed ? Colors.primary : Colors.surfaceContainerLowest
|
||||
border.color: control.pressed ? Colors.surfaceContainerLowest : Colors.primary
|
||||
}
|
||||
}
|
||||
|
||||
@ -12,7 +12,6 @@ Switch {
|
||||
implicitHeight: parent.implicitHeight
|
||||
radius: 26
|
||||
color: Colors.surfaceContainerLow
|
||||
border.color: control.checked ? Colors.primary : Colors.onSurfaceColor
|
||||
|
||||
Rectangle {
|
||||
implicitHeight: parent.implicitHeight - 6
|
||||
|
||||
@ -3,7 +3,7 @@ import qs
|
||||
import qs.settings
|
||||
|
||||
Text {
|
||||
color: Colors.base07
|
||||
color: Colors.onSurfaceColor
|
||||
font.family: Settings.config.font
|
||||
font.pixelSize: Settings.config.fontSize
|
||||
font.weight: Settings.config.fontWeight
|
||||
|
||||
@ -33,7 +33,6 @@ Singleton {
|
||||
property double translucency: 1
|
||||
property bool blackScreenCorners: true
|
||||
property bool settingsShown: true
|
||||
property string schemeGenerator: "matugen"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user