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

dankinstall: remove dead nix code, add doc link

This commit is contained in:
bbedward
2025-11-30 10:22:54 -05:00
parent b1834b1958
commit a55ec6416c
8 changed files with 1 additions and 618 deletions

View File

@@ -140,20 +140,6 @@ func (m Model) updateSelectTerminalState(msg tea.Msg) (tea.Model, tea.Cmd) {
m.selectedTerminal++
}
case "enter":
if m.osInfo != nil && m.osInfo.Distribution.ID == "nixos" {
var wmInstalled bool
if m.selectedWM == 0 {
wmInstalled = m.commandExists("niri")
} else {
wmInstalled = m.commandExists("hyprland") || m.commandExists("Hyprland")
}
if !wmInstalled {
m.state = StateMissingWMInstructions
return m, m.listenForLogs()
}
}
m.state = StateDetectingDeps
m.isLoading = true
return m, tea.Batch(m.spinner.Tick, m.detectDependencies())