extract constants
This commit is contained in:
parent
bc3a85d18d
commit
b969f0824f
22 changed files with 106 additions and 63 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue