mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-04-14 09:42:10 -04:00
greeter: Restore baseline configs
This commit is contained in:
@@ -464,7 +464,7 @@ func syncNiriGreeterConfig(logFunc func(string), sudoPassword string) error {
|
|||||||
return fmt.Errorf("failed to install greetd niri dms config: %w", err)
|
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")
|
mainTemp, err := os.CreateTemp("", "dms-greeter-niri-main-*.kdl")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("failed to create temp file: %w", err)
|
return fmt.Errorf("failed to create temp file: %w", err)
|
||||||
|
|||||||
Reference in New Issue
Block a user