a lot of work
This commit is contained in:
@@ -16,7 +16,7 @@ PanelWindow {
|
||||
property var modelData
|
||||
screen: modelData.values[0]
|
||||
|
||||
color: Common.Colors.colors.mainBackground
|
||||
color: Qt.rgba(0, 0, 0, 0) // Fully transparent via zero alpha
|
||||
anchors {
|
||||
top: true
|
||||
left: true
|
||||
@@ -25,6 +25,7 @@ PanelWindow {
|
||||
|
||||
implicitHeight: 31
|
||||
RowLayout {
|
||||
visible: true
|
||||
height: 30
|
||||
anchors {
|
||||
top: parent.top
|
||||
|
||||
@@ -32,7 +32,7 @@ Rectangle {
|
||||
anchors.centerIn: parent
|
||||
Text {
|
||||
// anchors.centerIn: parent
|
||||
text: UPower.displayDevice.percentage * 100 + "%"
|
||||
text: Math.round(UPower.displayDevice.percentage * 100) + "%"
|
||||
color: Common.Colors.colors.primary
|
||||
font.weight: Font.DemiBold
|
||||
font.pointSize: 12
|
||||
|
||||
@@ -6,16 +6,22 @@ import Quickshell.Io
|
||||
Singleton {
|
||||
id: root
|
||||
|
||||
// XX (alpha) XXXXXX (color)
|
||||
// XX (alpha) XXXXXX (color)
|
||||
|
||||
// For oled screen that risk burn in, set up these colors as semi-transparent and have a rotating wallpaper (!!)
|
||||
// For oled screen that risk burn in, set up these colors as semi-transparent and have a rotating wallpaper (!!)
|
||||
readonly property var colors: ({
|
||||
primary: "#59b1b2b5", // Icons & Text colors
|
||||
secondary: "#BF2a2a2a", // Pill container colors
|
||||
background: "#BF000000", // Background of containers
|
||||
mainBackground: "#20ffffff", // Color of the main bar
|
||||
warning: "#E9D502", // (i.e battery nearing low)
|
||||
critial: "#e53b3c", // (i.e battery is low)
|
||||
critial2: "#e53b3c", // (Speaker and Mic being off)
|
||||
})
|
||||
primary: "#59b1b2b5" // Icons & Text colors
|
||||
,
|
||||
secondary: "#BF2a2a2a" // Pill container colors
|
||||
,
|
||||
background: "#BF000000" // Background of containers
|
||||
,
|
||||
mainBackground: "#20ffffff" // Color of the main bar
|
||||
,
|
||||
warning: "#E9D502" // (i.e battery nearing low)
|
||||
,
|
||||
critial: "#e53b3c" // (i.e battery is low)
|
||||
,
|
||||
critial2: "#e53b3c" // (Speaker and Mic being off)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user