Documentation
¶
Index ¶
- Variables
- func LocateDMSConfig() (string, error)
- type ConfigDeployer
- func (cd *ConfigDeployer) DeployConfigurations(ctx context.Context, wm deps.WindowManager) ([]DeploymentResult, error)
- func (cd *ConfigDeployer) DeployConfigurationsSelective(ctx context.Context, wm deps.WindowManager, terminal deps.Terminal, ...) ([]DeploymentResult, error)
- func (cd *ConfigDeployer) DeployConfigurationsSelectiveWithReinstalls(ctx context.Context, wm deps.WindowManager, terminal deps.Terminal, ...) ([]DeploymentResult, error)
- func (cd *ConfigDeployer) DeployConfigurationsWithTerminal(ctx context.Context, wm deps.WindowManager, terminal deps.Terminal) ([]DeploymentResult, error)
- type DeploymentResult
Constants ¶
This section is empty.
Variables ¶
View Source
var AlacrittyConfig string
View Source
var AlacrittyThemeConfig string
View Source
var GhosttyColorConfig string
View Source
var GhosttyConfig string
View Source
var HyprlandConfig string
View Source
var KittyConfig string
View Source
var KittyTabsConfig string
View Source
var KittyThemeConfig string
View Source
var NiriConfig string
Functions ¶
func LocateDMSConfig ¶ added in v0.2.4
LocateDMSConfig searches for DMS installation following XDG Base Directory specification
Types ¶
type ConfigDeployer ¶
type ConfigDeployer struct {
// contains filtered or unexported fields
}
func NewConfigDeployer ¶
func NewConfigDeployer(logChan chan<- string) *ConfigDeployer
func (*ConfigDeployer) DeployConfigurations ¶
func (cd *ConfigDeployer) DeployConfigurations(ctx context.Context, wm deps.WindowManager) ([]DeploymentResult, error)
DeployConfigurations deploys all necessary configurations based on the chosen window manager
func (*ConfigDeployer) DeployConfigurationsSelective ¶
func (cd *ConfigDeployer) DeployConfigurationsSelective(ctx context.Context, wm deps.WindowManager, terminal deps.Terminal, installedDeps []deps.Dependency, replaceConfigs map[string]bool) ([]DeploymentResult, error)
func (*ConfigDeployer) DeployConfigurationsSelectiveWithReinstalls ¶
func (cd *ConfigDeployer) DeployConfigurationsSelectiveWithReinstalls(ctx context.Context, wm deps.WindowManager, terminal deps.Terminal, installedDeps []deps.Dependency, replaceConfigs map[string]bool, reinstallItems map[string]bool) ([]DeploymentResult, error)
func (*ConfigDeployer) DeployConfigurationsWithTerminal ¶
func (cd *ConfigDeployer) DeployConfigurationsWithTerminal(ctx context.Context, wm deps.WindowManager, terminal deps.Terminal) ([]DeploymentResult, error)
DeployConfigurationsWithTerminal deploys all necessary configurations based on chosen window manager and terminal
Click to show internal directories.
Click to hide internal directories.