diff --git a/shell/plugins/background/Background.qml b/shell/plugins/background/Background.qml index 451d93b0..151e7baf 100644 --- a/shell/plugins/background/Background.qml +++ b/shell/plugins/background/Background.qml @@ -109,13 +109,13 @@ Item { Process { id: bgSwitchProc - command: ["bash", "-lc", "background=$(omarchy-theme-bg-switcher); [[ -n $background ]] && omarchy-theme-bg-set \"$background\""] + command: ["bash", "-c", "background=$(omarchy-theme-bg-switcher); [[ -n $background ]] && omarchy-theme-bg-set \"$background\""] onExited: root.refreshBackground() } Process { id: themeSwitchProc - command: ["bash", "-lc", "theme=$(omarchy-theme-switcher); [[ -n $theme ]] && omarchy-theme-set \"$theme\" >/dev/null 2>&1 &"] + command: ["bash", "-c", "theme=$(omarchy-theme-switcher); [[ -n $theme ]] && omarchy-theme-set \"$theme\" >/dev/null 2>&1 &"] onExited: root.refreshBackground() } diff --git a/shell/plugins/bar/Bar.qml b/shell/plugins/bar/Bar.qml index eb96bb12..a7a9c4be 100644 --- a/shell/plugins/bar/Bar.qml +++ b/shell/plugins/bar/Bar.qml @@ -807,7 +807,7 @@ Item { Process { id: barHiddenProbe running: true - command: ["bash", "-lc", "[[ -f $HOME/.local/state/omarchy/toggles/bar-off ]] && echo yes || echo no"] + command: ["bash", "-c", "[[ -f $HOME/.local/state/omarchy/toggles/bar-off ]] && echo yes || echo no"] stdout: SplitParser { onRead: function(line) { root.barHidden = String(line).trim() === "yes" } } } FileView { diff --git a/shell/plugins/bar/indicators/Dictation.qml b/shell/plugins/bar/indicators/Dictation.qml index 77d12058..57f3c319 100644 --- a/shell/plugins/bar/indicators/Dictation.qml +++ b/shell/plugins/bar/indicators/Dictation.qml @@ -24,7 +24,7 @@ BarIndicator { } Process { - command: ["bash", "-lc", "omarchy-voxtype-status"] + command: ["bash", "-c", "omarchy-voxtype-status"] running: true stdout: SplitParser { onRead: function(data) { root.update(data) } diff --git a/shell/plugins/bar/widgets/KeyboardLayout.qml b/shell/plugins/bar/widgets/KeyboardLayout.qml index ec9eb0bf..8d3fcbb0 100644 --- a/shell/plugins/bar/widgets/KeyboardLayout.qml +++ b/shell/plugins/bar/widgets/KeyboardLayout.qml @@ -34,7 +34,7 @@ BarWidget { Process { id: queryProc - command: ["bash", "-lc", "hyprctl -j devices 2>/dev/null | sed -n '/keyboards/,$p' | head -200"] + command: ["bash", "-c", "hyprctl -j devices 2>/dev/null | sed -n '/keyboards/,$p' | head -200"] stdout: StdioCollector { waitForEnd: true onStreamFinished: { diff --git a/shell/plugins/image-picker/ImagePicker.qml b/shell/plugins/image-picker/ImagePicker.qml index 47c5eb53..672a5d16 100644 --- a/shell/plugins/image-picker/ImagePicker.qml +++ b/shell/plugins/image-picker/ImagePicker.qml @@ -139,7 +139,7 @@ Item { if (releaseProc.running || doneFilesToRelease.length === 0) return var path = doneFilesToRelease.shift() - releaseProc.command = ["bash", "-lc", ": > " + Util.shellQuote(path)] + releaseProc.command = ["bash", "-c", ": > " + Util.shellQuote(path)] releaseProc.running = true } @@ -163,7 +163,7 @@ Item { selectionFile = "" doneFile = "" - applyProc.command = ["bash", "-lc", "printf '%s\\n' " + Util.shellQuote(path) + " > " + Util.shellQuote(activeSelectionFile) + "; : > " + Util.shellQuote(activeDoneFile)] + applyProc.command = ["bash", "-c", "printf '%s\\n' " + Util.shellQuote(path) + " > " + Util.shellQuote(activeSelectionFile) + "; : > " + Util.shellQuote(activeDoneFile)] applyProc.running = true } diff --git a/shell/plugins/lock/Service.qml b/shell/plugins/lock/Service.qml index ca6bf6bd..b15a0821 100644 --- a/shell/plugins/lock/Service.qml +++ b/shell/plugins/lock/Service.qml @@ -352,7 +352,7 @@ Item { Process { id: fingerprintCheckProc - command: ["bash", "-lc", "if [[ -f /etc/pam.d/omarchy-lock-fingerprint ]] && command -v fprintd-list >/dev/null 2>&1 && fprintd-list \"$USER\" 2>/dev/null | grep -qi finger; then echo yes; else echo no; fi"] + command: ["bash", "-c", "if [[ -f /etc/pam.d/omarchy-lock-fingerprint ]] && command -v fprintd-list >/dev/null 2>&1 && fprintd-list \"$USER\" 2>/dev/null | grep -qi finger; then echo yes; else echo no; fi"] stdout: StdioCollector { id: fingerprintCheckStdout; waitForEnd: true } onExited: { root.fingerprintConfigured = String(fingerprintCheckStdout.text || "").trim() === "yes" @@ -363,12 +363,12 @@ Item { Process { id: wakeProcess - command: ["bash", "-lc", "omarchy-system-wake"] + command: ["bash", "-c", "omarchy-system-wake"] } Process { id: blankProcess - command: ["bash", "-lc", "omarchy-brightness-keyboard off; omarchy-brightness-display off"] + command: ["bash", "-c", "omarchy-brightness-keyboard off; omarchy-brightness-display off"] } Timer { diff --git a/shell/plugins/menu/Menu.qml b/shell/plugins/menu/Menu.qml index b31f21bc..b9a7bdc1 100644 --- a/shell/plugins/menu/Menu.qml +++ b/shell/plugins/menu/Menu.qml @@ -115,9 +115,9 @@ Item { root.doneFile = "" if (selection === null || selection === undefined) { - resultProc.command = ["bash", "-lc", ": > " + Util.shellQuote(activeDoneFile)] + resultProc.command = ["bash", "-c", ": > " + Util.shellQuote(activeDoneFile)] } else { - resultProc.command = ["bash", "-lc", "printf '%s\\n' " + Util.shellQuote(selection) + " > " + Util.shellQuote(activeSelectionFile) + "; : > " + Util.shellQuote(activeDoneFile)] + resultProc.command = ["bash", "-c", "printf '%s\\n' " + Util.shellQuote(selection) + " > " + Util.shellQuote(activeSelectionFile) + "; : > " + Util.shellQuote(activeDoneFile)] } resultProc.running = true } diff --git a/shell/plugins/panels/monitor/Panel.qml b/shell/plugins/panels/monitor/Panel.qml index cb191e18..be0c346e 100644 --- a/shell/plugins/panels/monitor/Panel.qml +++ b/shell/plugins/panels/monitor/Panel.qml @@ -213,7 +213,7 @@ Panel { } root.brightnessSetQueued = false - setBrightnessProc.command = ["bash", "-lc", "omarchy-brightness-display --no-osd " + percent + "%"] + setBrightnessProc.command = ["bash", "-c", "omarchy-brightness-display --no-osd " + percent + "%"] setBrightnessProc.running = true } @@ -248,7 +248,7 @@ Panel { } function setScale(scale) { - actionProc.command = ["bash", "-lc", "omarchy-hyprland-monitor-scaling " + scale] + actionProc.command = ["bash", "-c", "omarchy-hyprland-monitor-scaling " + scale] if (!actionProc.running) actionProc.running = true } diff --git a/shell/plugins/panels/network/Panel.qml b/shell/plugins/panels/network/Panel.qml index bdd81625..5d8a8c4b 100644 --- a/shell/plugins/panels/network/Panel.qml +++ b/shell/plugins/panels/network/Panel.qml @@ -262,7 +262,7 @@ Panel { function copyToClipboard(value) { if (!value || !root.bar) return - Quickshell.execDetached(["bash", "-lc", "printf %s " + Util.shellQuote(value) + " | wl-copy"]) + Quickshell.execDetached(["bash", "-c", "printf %s " + Util.shellQuote(value) + " | wl-copy"]) } readonly property string icon: Model.connectionIcon(kind, signalStrength) @@ -271,7 +271,7 @@ Panel { if (scanWifi === undefined) scanWifi = false if (!detailsProc.running) detailsProc.running = true if (!dnsProc.running) { - dnsProc.command = ["bash", "-lc", root.dnsCommand("")] + dnsProc.command = ["bash", "-c", root.dnsCommand("")] dnsProc.running = true } if (wifiDevice) { @@ -467,7 +467,7 @@ Panel { } root.pendingDnsProvider = provider - actionProc.command = ["bash", "-lc", root.dnsCommand(provider)] + actionProc.command = ["bash", "-c", root.dnsCommand(provider)] actionProc.running = true root.close() } diff --git a/shell/plugins/services/idle/Service.qml b/shell/plugins/services/idle/Service.qml index 9542c10a..488f2961 100644 --- a/shell/plugins/services/idle/Service.qml +++ b/shell/plugins/services/idle/Service.qml @@ -300,7 +300,7 @@ Item { Process { id: stayAwakeStateProbe - command: ["bash", "-lc", "mkdir -p \"$HOME/.local/state/omarchy/indicators\"; if [[ -f $HOME/.local/state/omarchy/indicators/stay-awake ]]; then echo yes; else echo no; fi"] + command: ["bash", "-c", "mkdir -p \"$HOME/.local/state/omarchy/indicators\"; if [[ -f $HOME/.local/state/omarchy/indicators/stay-awake ]]; then echo yes; else echo no; fi"] stdout: SplitParser { onRead: function(line) { root.applyStayAwake(String(line).trim() === "yes", false, "state-file") } }