1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-06-25 04:25:22 -04:00

qs: replace all which commands with command -v

This commit is contained in:
bbedward
2026-06-23 22:49:34 -04:00
parent 21ddc3cc3f
commit 14f21b6c6d
6 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ Singleton {
Component.onCompleted: {
Quickshell.execDetached(["mkdir", "-p", stateDir]);
Proc.runCommand("matugenCheck", ["which", "matugen"], (output, code) => {
Proc.runCommand("matugenCheck", ["sh", "-c", "command -v matugen"], (output, code) => {
matugenAvailable = (code === 0) && !envDisableMatugen;
const isGreeterMode = (typeof SessionData !== "undefined" && SessionData.isGreeterMode);