mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-08-08 06:28:27 -04:00
keybinds: fix labeling of spawn keybinds
fixes #2957
(cherry picked from commit 5bb884db57)
This commit is contained in:
@@ -388,6 +388,8 @@ Singleton {
|
||||
const binds = bindsData[cat];
|
||||
for (var i = 0; i < binds.length; i++) {
|
||||
const bind = binds[i];
|
||||
if (currentProvider === "hyprland" && bind.action && bind.action.startsWith("exec "))
|
||||
bind.action = "spawn " + bind.action.slice(5);
|
||||
const targetCat = Actions.isDmsAction(bind.action) ? "DMS" : cat;
|
||||
if (!processed[targetCat])
|
||||
processed[targetCat] = [];
|
||||
|
||||
Reference in New Issue
Block a user