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:
@@ -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}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user