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