mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-30 08:22:51 -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"
|
layerNamespace: "dms:hyprkeybinds"
|
||||||
|
|
||||||
width: 1400
|
property real _maxW: Math.min(Screen.width * 0.92, 1200)
|
||||||
height: 900
|
property real _maxH: Math.min(Screen.height * 0.92, 900)
|
||||||
|
width: _maxW
|
||||||
|
height: _maxH
|
||||||
onBackgroundClicked: close()
|
onBackgroundClicked: close()
|
||||||
|
|
||||||
|
Shortcut { sequence: "Esc"; onActivated: root.close() }
|
||||||
|
|
||||||
function categorizeKeybinds() {
|
function categorizeKeybinds() {
|
||||||
const categories = {
|
const categories = {
|
||||||
"Workspace": [],
|
"Workspace": [],
|
||||||
|
|||||||
Reference in New Issue
Block a user