mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2025-12-06 06:36:15 +00:00
Revert "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: [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: {
|
||||
|
||||
@@ -23,7 +23,7 @@ Singleton {
|
||||
Process {
|
||||
id: zigstatProcess
|
||||
running: true
|
||||
command: [Settings.settings.zigstatPath, updateInterval]
|
||||
command: [Quickshell.shellDir + "/Programs/zigstat", updateInterval]
|
||||
stdout: SplitParser {
|
||||
onRead: function (line) {
|
||||
try {
|
||||
|
||||
@@ -65,8 +65,6 @@ Singleton {
|
||||
property real fontSizeMultiplier: 1.0 // Font size multiplier (1.0 = normal, 1.2 = 20% larger, 0.8 = 20% smaller)
|
||||
property int taskbarIconSize: 24 // Taskbar icon button size in pixels (default: 32, smaller: 24, larger: 40)
|
||||
property var pinnedExecs: [] // Added for AppLauncher pinned apps
|
||||
property string zigbrightnessPath: Quickshell.shellDir + "/Programs/zigbrightness" // Path to zigbrightness utility
|
||||
property string zigstatPath: Quickshell.shellDir + "/Programs/zigstat" // Path to zigstat utility
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user