mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-06-08 12:13:31 -04:00
feat(Hyprland): Introduce Lua support for Hyprland configurations
- Note: We do not convert your existing conf configs to lua. This update only reflects DMS defaults state - Updated README.md to reflect changes - Updated Keyboard shortcut support
This commit is contained in:
@@ -300,9 +300,14 @@ func (m Model) checkExistingConfigurations() tea.Cmd {
|
||||
Exists: niriExists,
|
||||
})
|
||||
} else {
|
||||
hyprlandPath := filepath.Join(os.Getenv("HOME"), ".config", "hypr", "hyprland.conf")
|
||||
hyprlandLuaPath := filepath.Join(os.Getenv("HOME"), ".config", "hypr", "hyprland.lua")
|
||||
hyprlandConfPath := filepath.Join(os.Getenv("HOME"), ".config", "hypr", "hyprland.conf")
|
||||
hyprlandPath := hyprlandLuaPath
|
||||
hyprlandExists := false
|
||||
if _, err := os.Stat(hyprlandPath); err == nil {
|
||||
if _, err := os.Stat(hyprlandLuaPath); err == nil {
|
||||
hyprlandExists = true
|
||||
} else if _, err := os.Stat(hyprlandConfPath); err == nil {
|
||||
hyprlandPath = hyprlandConfPath
|
||||
hyprlandExists = true
|
||||
}
|
||||
configs = append(configs, ExistingConfigInfo{
|
||||
|
||||
Reference in New Issue
Block a user