1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-28 23:42:51 -05:00

keybinds: fix sh, fix screenshot-window options, empty args

part of #914
This commit is contained in:
bbedward
2026-01-12 09:35:30 -05:00
parent 1280bd047d
commit 49b322582d
4 changed files with 60 additions and 27 deletions

View File

@@ -1273,6 +1273,7 @@ Item {
spacing: Theme.spacingM
RowLayout {
visible: optionsRow.argConfig?.base !== "screenshot-window"
spacing: Theme.spacingXS
DankToggle {
@@ -1441,8 +1442,9 @@ Item {
onTextChanged: {
if (root._actionType !== "shell")
return;
var shell = Actions.getShellFromAction(root.editAction);
root.updateEdit({
"action": Actions.buildShellAction(KeybindsService.currentProvider, text)
"action": Actions.buildShellAction(KeybindsService.currentProvider, text, shell)
});
}
}