mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
refactor: centralize utility paths in Settings for zigbrightness and zigstat programs
This commit is contained in:
@@ -19,7 +19,7 @@ Item {
|
||||
|
||||
Process {
|
||||
id: getBrightnessProcess
|
||||
command: [Quickshell.shellDir + "/Programs/zigbrightness", "get", monitorName]
|
||||
command: [Settings.settings.zigbrightnessPath, "get", monitorName]
|
||||
|
||||
stdout: StdioCollector {
|
||||
onStreamFinished: {
|
||||
@@ -47,7 +47,7 @@ Item {
|
||||
Process {
|
||||
id: setBrightnessProcess
|
||||
property int targetValue: -1
|
||||
command: [Quickshell.shellDir + "/Programs/zigbrightness", "set", monitorName, targetValue.toString()]
|
||||
command: [Settings.settings.zigbrightnessPath, "set", monitorName, targetValue.toString()]
|
||||
|
||||
stdout: StdioCollector {
|
||||
onStreamFinished: {
|
||||
|
||||
Reference in New Issue
Block a user