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

Hyprkeybind: minor fixes (#660)

* HyperKeybindsModal: size to screen

* HyperKeybindsModal: close on Esc
This commit is contained in:
nebu
2025-11-08 00:42:09 -05:00
committed by GitHub
parent 8a96f71d10
commit a56066bac1

View File

@@ -11,10 +11,14 @@ DankModal {
layerNamespace: "dms:hyprkeybinds"
width: 1400
height: 900
property real _maxW: Math.min(Screen.width * 0.92, 1200)
property real _maxH: Math.min(Screen.height * 0.92, 900)
width: _maxW
height: _maxH
onBackgroundClicked: close()
Shortcut { sequence: "Esc"; onActivated: root.close() }
function categorizeKeybinds() {
const categories = {
"Workspace": [],