1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-06-24 03:55:23 -04:00

keybinds: fix mouse wheel keysims on Hyprland and Mango

fixes #2683
This commit is contained in:
bbedward
2026-06-23 11:21:38 -04:00
parent 73f3a72d00
commit 0e7901ebbe
8 changed files with 230 additions and 5 deletions
@@ -347,9 +347,13 @@ func (p *HyprlandParser) buildDMSStatus() *HyprlandDMSStatus {
}
func (p *HyprlandParser) formatBindKey(kb *HyprlandKeyBinding) string {
key := kb.Key
if canonical, ok := hyprlandScrollToCanonical(key); ok {
key = canonical
}
parts := make([]string, 0, len(kb.Mods)+1)
parts = append(parts, kb.Mods...)
parts = append(parts, kb.Key)
parts = append(parts, key)
return strings.Join(parts, "+")
}