a lot of work

This commit is contained in:
2025-12-30 16:35:44 +00:00
parent a1b117c408
commit f029d5fedd
18 changed files with 201 additions and 92 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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)
})
}