mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-24 21:42:51 -05:00
core: hyprland session on all distros, dms setup systemd prompt
This commit is contained in:
@@ -611,6 +611,15 @@ func (b *BaseDistribution) EnableDMSService(ctx context.Context) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (b *BaseDistribution) WriteWindowManagerConfig(wm deps.WindowManager) error {
|
||||
if wm == deps.WindowManagerHyprland {
|
||||
if err := b.WriteHyprlandSessionTarget(); err != nil {
|
||||
return fmt.Errorf("failed to write hyprland session target: %w", err)
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (b *BaseDistribution) WriteHyprlandSessionTarget() error {
|
||||
homeDir, err := os.UserHomeDir()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user