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

greeter: Restore baseline configs

This commit is contained in:
purian23
2026-02-03 15:52:07 -05:00
parent 3ef0e63533
commit 0af4d1d6e3

View File

@@ -464,7 +464,7 @@ func syncNiriGreeterConfig(logFunc func(string), sudoPassword string) error {
return fmt.Errorf("failed to install greetd niri dms config: %w", err)
}
mainContent := fmt.Sprintf("hotkey-overlay {\n skip-at-startup\n}\n\ninclude \"%s\"\n", dmsPath)
mainContent := fmt.Sprintf("hotkey-overlay {\n skip-at-startup\n}\n\nenvironment {\n DMS_RUN_GREETER \"1\"\n}\n\ngestures {\n hot-corners {\n off\n }\n}\n\nlayout {\n background-color \"#000000\"\n}\n\ninclude \"%s\"\n", dmsPath)
mainTemp, err := os.CreateTemp("", "dms-greeter-niri-main-*.kdl")
if err != nil {
return fmt.Errorf("failed to create temp file: %w", err)