mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-06-24 20:15:21 -04:00
qs: replace all which commands with command -v
This commit is contained in:
@@ -18,7 +18,7 @@ Singleton {
|
||||
Process {
|
||||
id: cavaCheck
|
||||
|
||||
command: ["which", "cava"]
|
||||
command: ["sh", "-c", "command -v cava"]
|
||||
running: false
|
||||
onExited: exitCode => {
|
||||
root.cavaAvailable = exitCode === 0 && Quickshell.env("DMS_DISABLE_CAVA") !== "1";
|
||||
|
||||
Reference in New Issue
Block a user