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