extract constants

This commit is contained in:
Damocles 2026-04-12 10:57:48 +02:00
parent bc3a85d18d
commit b969f0824f
22 changed files with 106 additions and 63 deletions

View file

@ -4,7 +4,7 @@ import "." as M
M.BarSection {
id: root
spacing: 4
spacing: M.Theme.moduleSpacing
visible: percent > 0
tooltip: "Brightness: " + root.percent + "%"
@ -14,7 +14,8 @@ M.BarSection {
id: adjProc
property string cmd: ""
command: ["sh", "-c", cmd]
onRunningChanged: if (!running && cmd !== "") current.reload()
onRunningChanged: if (!running && cmd !== "")
current.reload()
}
function adjust(delta) {