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

This commit is contained in:
JPratama7 2025-07-29 00:18:37 +07:00
parent bdfab74e1e
commit e319d0dfd6
No known key found for this signature in database
GPG key ID: CD3EB7D0490C5F4B
3 changed files with 5 additions and 3 deletions

View file

@ -23,7 +23,7 @@ Singleton {
Process {
id: zigstatProcess
running: true
command: [Quickshell.shellDir + "/Programs/zigstat", updateInterval]
command: [Settings.settings.zigstatPath, updateInterval]
stdout: SplitParser {
onRead: function (line) {
try {