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:
@@ -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": [],
|
||||
|
||||
Reference in New Issue
Block a user