mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
workspaces: Add workspace actions
This commit is contained in:
parent
8c5157a098
commit
c93d625938
4 changed files with 39 additions and 0 deletions
|
|
@ -75,10 +75,16 @@ fill_keybind(char *nodename, char *content)
|
|||
wlr_log(WLR_ERROR, "Action argument already set: %s",
|
||||
current_keybind_action->arg);
|
||||
} else if (!strcmp(nodename, "command.action")) {
|
||||
/* Execute */
|
||||
current_keybind_action->arg = strdup(content);
|
||||
} else if (!strcmp(nodename, "direction.action")) {
|
||||
/* MoveToEdge, SnapToEdge */
|
||||
current_keybind_action->arg = strdup(content);
|
||||
} else if (!strcmp(nodename, "menu.action")) {
|
||||
/* ShowMenu */
|
||||
current_keybind_action->arg = strdup(content);
|
||||
} else if (!strcmp(nodename, "to.action")) {
|
||||
/* GoToDesktop, SendToDesktop */
|
||||
current_keybind_action->arg = strdup(content);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue