Revert "refactor: centralize utility paths in Settings for zigbrightness and zigstat programs"

This commit is contained in:
JPratama7 2025-07-30 14:14:46 +07:00
parent cb9cb0f4e5
commit 272dafcfe1
No known key found for this signature in database
GPG key ID: CD3EB7D0490C5F4B
3 changed files with 3 additions and 5 deletions

View file

@ -19,7 +19,7 @@ Item {
Process {
id: getBrightnessProcess
command: [Settings.settings.zigbrightnessPath, "get", monitorName]
command: [Quickshell.shellDir + "/Programs/zigbrightness", "get", monitorName]
stdout: StdioCollector {
onStreamFinished: {
@ -47,7 +47,7 @@ Item {
Process {
id: setBrightnessProcess
property int targetValue: -1
command: [Settings.settings.zigbrightnessPath, "set", monitorName, targetValue.toString()]
command: [Quickshell.shellDir + "/Programs/zigbrightness", "set", monitorName, targetValue.toString()]
stdout: StdioCollector {
onStreamFinished: {