1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 13:32:50 -05:00

niri: add warnings on auto-generated files

This commit is contained in:
bbedward
2025-12-12 16:53:33 -05:00
parent 5b8edb13d8
commit 6c3c722674
8 changed files with 92 additions and 3 deletions

View File

@@ -959,7 +959,14 @@ Singleton {
const cornerRadius = typeof SettingsData !== "undefined" ? SettingsData.cornerRadius : 12;
const gaps = typeof SettingsData !== "undefined" ? Math.max(4, (SettingsData.barConfigs[0]?.spacing ?? 4)) : 4;
const configContent = `layout {
const dmsWarning = `// ! DO NOT EDIT !
// ! AUTO-GENERATED BY DMS !
// ! CHANGES WILL BE OVERWRITTEN !
// ! PLACE YOUR CUSTOM CONFIGURATION ELSEWHERE !
`;
const configContent = dmsWarning + `layout {
gaps ${gaps}
border {
@@ -977,7 +984,7 @@ window-rule {
draw-border-with-background false
}`;
const alttabContent = `recent-windows {
const alttabContent = dmsWarning + `recent-windows {
highlight {
corner-radius ${cornerRadius}
}