mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-08-02 03:28:28 -04:00
refactor(include): Add missing layout include & normalize config banners
- The Display config process ID now includes the output name in NiriService
This commit is contained in:
@@ -1252,7 +1252,7 @@ Singleton {
|
||||
commands.push(`niri msg output "${outputName}" ${config.disabled ? "off" : "on"}`);
|
||||
if (config.disabled) {
|
||||
const fullDisableCommand = "{ " + commands.join(" && ") + "; } 2>&1";
|
||||
Proc.runCommand("niri-output-config", ["sh", "-c", fullDisableCommand], (output, exitCode) => {
|
||||
Proc.runCommand("niri-output-config-" + outputName, ["sh", "-c", fullDisableCommand], (output, exitCode) => {
|
||||
if (exitCode !== 0) {
|
||||
log.warn("Failed to apply output config:", outputName, "exit:", exitCode, output);
|
||||
if (callback)
|
||||
@@ -1296,7 +1296,7 @@ Singleton {
|
||||
}
|
||||
|
||||
const fullCommand = "{ " + commands.join(" && ") + "; } 2>&1";
|
||||
Proc.runCommand("niri-output-config", ["sh", "-c", fullCommand], (output, exitCode) => {
|
||||
Proc.runCommand("niri-output-config-" + outputName, ["sh", "-c", fullCommand], (output, exitCode) => {
|
||||
if (exitCode !== 0) {
|
||||
log.warn("Failed to apply output config:", outputName, "exit:", exitCode, output);
|
||||
if (callback)
|
||||
|
||||
Reference in New Issue
Block a user