Improve hover behaviour, make font configurable, adjust overview
This commit is contained in:
@@ -3,6 +3,7 @@ import Quickshell.Widgets
|
||||
import QtQuick
|
||||
import Quickshell
|
||||
import "." as Widgets
|
||||
import "../config.mjs" as Config
|
||||
|
||||
Item {
|
||||
anchors {
|
||||
@@ -52,6 +53,7 @@ Item {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
x: 10
|
||||
color: "white"
|
||||
font.family: Config.font
|
||||
text: `${Math.round(UPower.displayDevice.percentage * 100)}% · ${UPower.displayDevice.changeRate.toPrecision(2)}W`
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user