mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-30 15:07:49 -04:00
niri: ensure other configs too
This commit is contained in:
1 parent
ca5b168117
commit
c5a21f8da0
1 file changed
+1
-1
@@ -1190,7 +1190,7 @@ Singleton {
|
||||
writeAlttabProcess.command = ["sh", "-c", `mkdir -p "${niriDmsDir}" && cat > "${alttabPath}" << 'EOF'\n${alttabContent}\nEOF`];
|
||||
writeAlttabProcess.running = true;
|
||||
|
||||
for (const name of ["outputs", "binds", "cursor", "windowrules", "colors"]) {
|
||||
for (const name of ["outputs", "binds", "cursor", "windowrules", "colors", "alttab", "layout"]) {
|
||||
const path = niriDmsDir + "/" + name + ".kdl";
|
||||
Proc.runCommand("niri-ensure-" + name, ["sh", "-c", `mkdir -p "${niriDmsDir}" && [ ! -f "${path}" ] && touch "${path}" || true`], (output, exitCode) => {
|
||||
if (exitCode !== 0)
|
||||
|
||||
Reference in new issue
Block a user