mirror of
https://github.com/Trensa-Organization/hy3.git
synced 2025-03-15 18:53:40 +01:00
Rename ephemeral dispatcher to setephemeral
This commit is contained in:
parent
5cc6f08046
commit
a2dd898eba
2 changed files with 3 additions and 3 deletions
|
@ -218,7 +218,7 @@ plugin {
|
||||||
- `hy3:changegroup, <h | v | tab | untab | opposite>` - change the group the node belongs to, to a different layout
|
- `hy3:changegroup, <h | v | tab | untab | opposite>` - change the group the node belongs to, to a different layout
|
||||||
- `untab` will untab the group if it was previously tabbed
|
- `untab` will untab the group if it was previously tabbed
|
||||||
- `opposite` will toggle between horizontal and vertical layouts if the group is not tabbed.
|
- `opposite` will toggle between horizontal and vertical layouts if the group is not tabbed.
|
||||||
- `hy3:changeephemerality, <true | false>` - change the ephemerality of the group the node belongs to
|
- `hy3:setephemeral, <true | false>` - change the ephemerality of the group the node belongs to
|
||||||
- `hy3:movefocus, <l | u | d | r | left | down | up | right>, [visible]` - move the focus left, up, down, or right
|
- `hy3:movefocus, <l | u | d | r | left | down | up | right>, [visible]` - move the focus left, up, down, or right
|
||||||
- `visible` - only move between visible nodes, not hidden tabs
|
- `visible` - only move between visible nodes, not hidden tabs
|
||||||
- `hy3:movewindow, <l | u | d | r | left | down | up | right>, [once]` - move a window left, up, down, or right
|
- `hy3:movewindow, <l | u | d | r | left | down | up | right>, [once]` - move a window left, up, down, or right
|
||||||
|
|
|
@ -62,7 +62,7 @@ void dispatch_changegroup(std::string value) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void dispatch_changeephemerality(std::string value) {
|
void dispatch_setephemeral(std::string value) {
|
||||||
int workspace = workspace_for_action();
|
int workspace = workspace_for_action();
|
||||||
if (workspace == -1) return;
|
if (workspace == -1) return;
|
||||||
|
|
||||||
|
@ -219,7 +219,7 @@ void dispatch_debug(std::string arg) {
|
||||||
void registerDispatchers() {
|
void registerDispatchers() {
|
||||||
HyprlandAPI::addDispatcher(PHANDLE, "hy3:makegroup", dispatch_makegroup);
|
HyprlandAPI::addDispatcher(PHANDLE, "hy3:makegroup", dispatch_makegroup);
|
||||||
HyprlandAPI::addDispatcher(PHANDLE, "hy3:changegroup", dispatch_changegroup);
|
HyprlandAPI::addDispatcher(PHANDLE, "hy3:changegroup", dispatch_changegroup);
|
||||||
HyprlandAPI::addDispatcher(PHANDLE, "hy3:changeephemerality", dispatch_changeephemerality);
|
HyprlandAPI::addDispatcher(PHANDLE, "hy3:setephemeral", dispatch_setephemeral);
|
||||||
HyprlandAPI::addDispatcher(PHANDLE, "hy3:movefocus", dispatch_movefocus);
|
HyprlandAPI::addDispatcher(PHANDLE, "hy3:movefocus", dispatch_movefocus);
|
||||||
HyprlandAPI::addDispatcher(PHANDLE, "hy3:movewindow", dispatch_movewindow);
|
HyprlandAPI::addDispatcher(PHANDLE, "hy3:movewindow", dispatch_movewindow);
|
||||||
HyprlandAPI::addDispatcher(PHANDLE, "hy3:changefocus", dispatch_changefocus);
|
HyprlandAPI::addDispatcher(PHANDLE, "hy3:changefocus", dispatch_changefocus);
|
||||||
|
|
Loading…
Add table
Reference in a new issue